=>> Building x11-toolkits/Xaw3d build started at Tue Jan 9 04:25:48 CST 2024 port directory: /usr/ports/x11-toolkits/Xaw3d package name: Xaw3d-1.5E_8 building for: FreeBSD 140amd64-quarterly-job-03 14.0-RELEASE FreeBSD 14.0-RELEASE amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 767 Oct 5 2022 /usr/ports/x11-toolkits/Xaw3d/Makefile Ports top last git commit: ad5dd62b5905 Ports top unclean checkout: no Port dir last git commit: 71b6a9f9c7b4 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240105 Host OSVERSION: 1400097 Jail OSVERSION: 1400097 Job Id: 03 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400097 UNAME_v=FreeBSD 14.0-RELEASE UNAME_r=14.0-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 LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240105 MASTERMNT=/poudriere/data/.m/140amd64-quarterly/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/140amd64-quarterly/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=140amd64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/poudriere/data/.m/140amd64-quarterly/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240105 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for 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-- --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 " MANPREFIX="/usr/local" 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.0 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 #### #### /usr/local/etc/poudriere.d/quarterly-make.conf #DEFAULT_VERSIONS+=apache=2.4 #DEFAULT_VERSIONS+=corosync=3 #DEFAULT_VERSIONS+=gcc=12 DEFAULT_VERSIONS+=ghostscript=10 DEFAULT_VERSIONS+=java=17 DEFAULT_VERSIONS+=linux=c7_64 #DEFAULT_VERSIONS+=llvm=17 #DEFAULT_VERSIONS+=lua=5.4 #DEFAULT_VERSIONS+=mono=5.20 DEFAULT_VERSIONS+=mysql=10.11m #DEFAULT_VERSIONS+=perl5=5.38 DEFAULT_VERSIONS+=pgsql=15 #DEFAULT_VERSIONS+=php=8.0 #DEFAULT_VERSIONS+=python2=2.7 #DEFAULT_VERSIONS+=python3=3.9 #DEFAULT_VERSIONS+=python=3.9 #DEFAULT_VERSIONS+=samba=4.16 DEFAULT_VERSIONS+=ssl=openssl #DEFAULT_VERSIONS+=ssl=base DEFAULT_VERSIONS+=tcltk=8.6 WANT_OPENLDAP_SASL=yes # We play ball with... LICENSES_GROUPS_ACCEPTED+=FSF LICENSES_GROUPS_ACCEPTED+=OSI LICENSES_GROUPS_ACCEPTED+=COPYFREE LICENSES_GROUPS_ACCEPTED+=FONTS LICENSES_ACCEPTED+=GPLv2+ LICENSES_ACCEPTED+=MSPAT LICENSES_ACCEPTED+=NONE LICENSES_ACCEPTED+='GPLV2+ MSPAT' # Until 1.18 gets its modules crap sorted #GO_PORT=lang/go117 # Ehh, screw it. DISABLE_LICENSES=yes # FINALLY. BUILD_ALL_PYTHON_FLAVORS=yes # Duh WITH_PKGNG=yes # Workaround for FreeBSD PR 201193 WITH_MPM=event # Workaround for FreeBSD PR 234914 -- JTFC, FreeBSD, figure it out. .if ${.CURDIR:M*/www/mod_php7[0-9]} CONFIGURE_ENV+= pthreads_working="yes" .endif #MESA_LLVM_VER = 13 # ports infrastructure dudes are hacks. security_p5-GSSAPI_SET = GSSAPI_HEIMDAL OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_MIT OPTIONS_UNSET += WAYLAND OPTIONS_SET += GSSAPI_HEIMDAL #KRB5_VERSION=121 #security_p5-GSSAPI_SET = GSSAPI_HEIMDAL #OPTIONS_UNSET += GSSAPI_BASE GSSAPI_NONE GSSAPI_MIT #OPTIONS_SET += GSSAPI_HEIMDAL 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 --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 =========================================================================== =================================================== ===== 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.20.9.pkg [140amd64-quarterly-job-03] Installing pkg-1.20.9... [140amd64-quarterly-job-03] Extracting pkg-1.20.9: .......... 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/140amd64-quarterly/03/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 ===> 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 ===> 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 ===> 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.22.3.pkg [140amd64-quarterly-job-03] Installing gettext-runtime-0.22.3... [140amd64-quarterly-job-03] `-- Installing indexinfo-0.3.1... [140amd64-quarterly-job-03] `-- Extracting indexinfo-0.3.1: . done [140amd64-quarterly-job-03] Extracting gettext-runtime-0.22.3: .......... 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.22.3.pkg [140amd64-quarterly-job-03] Installing gettext-tools-0.22.3... [140amd64-quarterly-job-03] `-- Installing libtextstyle-0.22.3... [140amd64-quarterly-job-03] `-- Extracting libtextstyle-0.22.3: .......... done [140amd64-quarterly-job-03] Extracting gettext-tools-0.22.3: .......... 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.8,1.pkg [140amd64-quarterly-job-03] Installing imake-1.0.8,1... [140amd64-quarterly-job-03] `-- Installing gccmakedep-1.0.3... [140amd64-quarterly-job-03] `-- Extracting gccmakedep-1.0.3: .. done [140amd64-quarterly-job-03] `-- Installing makedepend-1.0.6,1... [140amd64-quarterly-job-03] `-- Extracting makedepend-1.0.6,1: .. done [140amd64-quarterly-job-03] `-- Installing perl5-5.36.3_1... [140amd64-quarterly-job-03] `-- Extracting perl5-5.36.3_1: .......... done [140amd64-quarterly-job-03] `-- Installing xorg-cf-files-1.0.8... [140amd64-quarterly-job-03] `-- Extracting xorg-cf-files-1.0.8: .......... done [140amd64-quarterly-job-03] Extracting imake-1.0.8,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 [140amd64-quarterly-job-03] Installing tradcpp-0.5.3... [140amd64-quarterly-job-03] 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.7,1.pkg [140amd64-quarterly-job-03] Installing libX11-1.8.7,1... [140amd64-quarterly-job-03] `-- Installing libxcb-1.15_1... [140amd64-quarterly-job-03] | `-- Installing libXau-1.0.9... [140amd64-quarterly-job-03] | `-- Extracting libXau-1.0.9: .......... done [140amd64-quarterly-job-03] | `-- Installing libXdmcp-1.1.3... [140amd64-quarterly-job-03] | | `-- Installing xorgproto-2023.2... [140amd64-quarterly-job-03] | | `-- Extracting xorgproto-2023.2: .......... done [140amd64-quarterly-job-03] | `-- Extracting libXdmcp-1.1.3: ...... done [140amd64-quarterly-job-03] `-- Extracting libxcb-1.15_1: .......... done [140amd64-quarterly-job-03] Extracting libX11-1.8.7,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.4,1.pkg [140amd64-quarterly-job-03] Installing libXext-1.3.4,1... [140amd64-quarterly-job-03] Extracting libXext-1.3.4,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 [140amd64-quarterly-job-03] Installing libXmu-1.1.4,1... [140amd64-quarterly-job-03] `-- Installing libXt-1.2.1,1... [140amd64-quarterly-job-03] | `-- Installing libICE-1.1.0_2,1... [140amd64-quarterly-job-03] | `-- Extracting libICE-1.1.0_2,1: .......... done [140amd64-quarterly-job-03] | `-- Installing libSM-1.2.3_1,1... [140amd64-quarterly-job-03] | `-- Extracting libSM-1.2.3_1,1: ........ done [140amd64-quarterly-job-03] `-- Extracting libXt-1.2.1,1: .......... done [140amd64-quarterly-job-03] 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.pkg [140amd64-quarterly-job-03] Installing libXpm-3.5.17... [140amd64-quarterly-job-03] Extracting libXpm-3.5.17: .......... 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_5.pkg [140amd64-quarterly-job-03] Installing ccache-3.7.12_5... [140amd64-quarterly-job-03] Extracting ccache-3.7.12_5: ......... 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_5: -- 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 --- Layout.o --- rm -f Layout.o unshared/Layout.o --- TextTr.o --- --- Layout.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Layout.c -o unshared/Layout.o --- 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 --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- 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 --- Form.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] ( 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 C2x [-Wdeprecated-non-prototype] ( 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ((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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Form.c:783:33: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if ( request->request_mode & (CWWidth | CWHeight) == ^~~~~~~~~~~~~~~~~~~~~~~~~ Form.c:783:33: note: place parentheses around the '==' expression to silence this warning if ( request->request_mode & (CWWidth | CWHeight) == ^ ( Form.c:783:33: note: place parentheses around the & expression to evaluate it first 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 --- Tree.o --- rm -f Tree.o unshared/Tree.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Tree.c -o unshared/Tree.o --- XawInit.o --- rm -f XawInit.o unshared/XawInit.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XawInit.c -o unshared/XawInit.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); /* somebody added a new widget */ ^ 13 warnings generated. 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 --- rm -f 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] ( 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 C2x [-Wdeprecated-non-prototype] ( 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ((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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); ^ Form.c:783:33: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if ( request->request_mode & (CWWidth | CWHeight) == ^~~~~~~~~~~~~~~~~~~~~~~~~ Form.c:783:33: note: place parentheses around the '==' expression to silence this warning if ( request->request_mode & (CWWidth | CWHeight) == ^ ( Form.c:783:33: note: place parentheses around the & expression to evaluate it first 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ 35 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void layout_tree(); ^ 38 warnings generated. --- XawI18n.o --- rm -f XawI18n.o unshared/XawI18n.o --- Tree.o --- rm -f Tree.o --- XawI18n.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XawI18n.c -o unshared/XawI18n.o --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ 16 warnings generated. --- AsciiSink.o --- --- AsciiSrc.o --- rm -f AsciiSrc.o unshared/AsciiSrc.o --- AsciiSink.o --- rm -f AsciiSink.o unshared/AsciiSink.o --- AsciiSrc.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO AsciiSrc.c -o unshared/AsciiSrc.o --- AsciiSink.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO AsciiSink.c -o unshared/AsciiSink.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LayoutLayout (); ^ 43 warnings generated. --- AsciiText.o --- rm -f AsciiText.o unshared/AsciiText.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] mbtowc(&wc, str, 1); ^ 1 warning generated. --- AsciiText.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO AsciiText.c -o unshared/AsciiText.o --- XawI18n.o --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ChangeManaged(); /* somebody added a new widget */ ^ 13 warnings generated. --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToAsciiType(); ^ 74 warnings generated. --- AsciiSink.o --- AsciiSink.c:180:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ AsciiSink.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ AsciiSink.c:668:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ AsciiSink.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ 30 warnings generated. rm -f AsciiSink.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] mbtowc(&wc, str, 1); ^ 1 warning generated. --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void layout_tree(); ^ 38 warnings generated. --- Grip.o --- --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ 4 warnings generated. --- 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 --- Grip.o --- rm -f Grip.o unshared/Grip.o --- 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 --- Grip.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Grip.c -o unshared/Grip.o --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] && !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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Command.c:595:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Command.c:595:36: note: remove extraneous parentheses around the comparison to silence this warning if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~ ^ ~ Command.c:595:36: note: use '=' to turn this equality comparison into an assignment 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ 41 warnings generated. rm -f Command.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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GripAction( /* Widget, XEvent*, String*, Cardinal */ ); ^ 2 warnings 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ 4 warnings generated. --- Label.o --- rm -f Label.o unshared/Label.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Label.c -o unshared/Label.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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] GetValuesHook(); ^ Dialog.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ 12 warnings generated. rm -f Dialog.o --- Grip.o --- rm -f 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 --- 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 --- AsciiSink.o --- AsciiSink.c:180:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ AsciiSink.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ AsciiSink.c:668:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ AsciiSink.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ 30 warnings generated. --- List.o --- rm -f List.o unshared/List.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 19 warnings generated. rm -f Label.o --- List.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO List.c -o unshared/List.o --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void GripAction( /* Widget, XEvent*, String*, Cardinal */ ); ^ 2 warnings generated. --- MenuButton.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); --- Dialog.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static Boolean SetValues(current, request, new, in_args, in_num_args) ^ --- AsciiSrc.o --- ^ AsciiSrc.c:255:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- Dialog.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] GetValuesHook(); ^ Dialog.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), ^ 12 warnings generated. --- MenuButton.o --- rm -f MenuButton.o unshared/MenuButton.o --- AsciiSrc.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- Paned.o --- --- AsciiSrc.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] piece = FindPiece(src, position, &first); ^ --- Paned.o --- rm -f Paned.o unshared/Paned.o --- AsciiSrc.o --- AsciiSrc.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToAsciiType(); ^ 74 warnings generated. --- Paned.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Paned.c -o unshared/Paned.o --- Panner.o --- --- MenuButton.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO MenuButton.c -o unshared/MenuButton.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] HighlightRegion(cbw) ^ --- Panner.o --- rm -f Panner.o unshared/Panner.o --- Command.o --- Command.c:297:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Highlight(w,event,params,num_params) ^ --- Panner.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Panner.c -o unshared/Panner.o --- Command.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] && !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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Command.c:595:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Command.c:595:36: note: remove extraneous parentheses around the comparison to silence this warning if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { ~ ^ ~ Command.c:595:36: note: use '=' to turn this equality comparison into an assignment 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), Resize(); ^ 41 warnings generated. --- Repeater.o --- rm -f Repeater.o unshared/Repeater.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Repeater.c -o unshared/Repeater.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 --- MenuButton.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PopupMenu(); ^ 2 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 19 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] !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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] !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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ 47 warnings generated. --- MenuButton.o --- rm -f MenuButton.o --- Panner.o --- rm -f Panner.o --- Scrollbar.o --- rm -f Scrollbar.o unshared/Scrollbar.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] StartGripAdjustment(pw, grip, dir) ^ Paned.c:991:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (dir == ThisBorderOnly) ) { ~~~~^~~~~~~~~~~~~~~~~ Paned.c:991:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (dir == ThisBorderOnly) ) { ~ ^ ~ Paned.c:991:15: note: use '=' to turn this equality comparison into an assignment 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ResortChildren(pw) ^ Paned.c:1164:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ManageAndUnmanageGrips(pw) ^ Paned.c:1200:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SetChildrenPrefSizes(pw, off_size) ^ Paned.c:1316:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClearPaneStack(); ^ Paned.c:1495:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1530:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1449:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DeleteChild(); ^ Paned.c:1685:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1650:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Paned.c:1820:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean PaneSetValues(); ^ 82 warnings generated. rm -f 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 --- Scrollbar.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Scrollbar.c -o unshared/Scrollbar.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(); ^ 12 warnings generated. rm -f 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 --- 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 --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionStart(), ActionStop(); ^ 12 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void Destroy (w) ^ --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PopupMenu(); ^ 2 warnings generated. --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void Initialize( request, new, args, num_args ) ^ --- Simple.o --- --- SimpleMenu.o --- --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static Boolean SetValues (current, request, desired, args, num_args) ^ --- Simple.o --- rm -f Simple.o unshared/Simple.o --- Scrollbar.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static Boolean CompareEvents (oldEvent, newEvent) ^ --- SimpleMenu.o --- rm -f SimpleMenu.o unshared/SimpleMenu.o --- Scrollbar.o --- Scrollbar.c:717:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleThumb(); ^ Scrollbar.c:815:49: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void NotifyThumb(); ^ 46 warnings generated. rm -f Scrollbar.o --- SimpleMenu.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SimpleMenu.c -o unshared/SimpleMenu.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 --- Simple.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Simple.c -o unshared/Simple.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Destroy(); ^ 38 warnings generated. --- Sme.o --- rm -f Sme.o unshared/Sme.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Sme.c -o unshared/Sme.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 C2x [-Wdeprecated-non-prototype] !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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] !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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ActionPage(), ActionNotify(), ActionSet(); ^ 47 warnings generated. --- SmeBSB.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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] smw->core.width = GetMenuWidth(new, (Widget)NULL); --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void Realize(w, valueMask, attributes) ^ --- SimpleMenu.o --- ^ SimpleMenu.c:316:39: warning: passing arguments to 'GetMenuHeight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Redisplay(w, event, region) ^ --- Simple.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); ^ --- SimpleMenu.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- Simple.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static Boolean ChangeSensitive(w) ^ --- SimpleMenu.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CreateLabel(new); ^ SimpleMenu.c:551:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (smw_old->simple_menu.label_string == NULL) /* Create. */ ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ChangeSensitive(); ^ 12 warnings generated. --- Simple.o --- rm -f Simple.o --- SimpleMenu.o --- SimpleMenu.c:582:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); ^ 89 warnings generated. --- SmeBSB.o --- rm -f SmeBSB.o unshared/SmeBSB.o --- SimpleMenu.o --- rm -f 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 --- SmeBSB.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SmeBSB.c -o unshared/SmeBSB.o --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HandleThumb(); ^ Scrollbar.c:815:49: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void NotifyThumb(); ^ 46 warnings generated. --- SmeLine.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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), ChangeSensitive(); ^ 12 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(); ^ --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] GetDefaultSize(new, &(entry->rectangle.width), &(entry->rectangle.height)); ^ --- SmeThreeD.o --- --- Sme.o --- Sme.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); ^ --- SmeBSB.o --- SmeBSB.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Destroy(w) ^ Sme.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 12 warnings generated. 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Redisplay(), Destroy(), Initialize(); ^ --- Sme.o --- 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 --- SmeBSB.c:407:12: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateGCs(), DestroyGCs(), FlipColors(); ^ 40 warnings generated. 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] StartGripAdjustment(pw, grip, dir) ^ Paned.c:991:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (dir == ThisBorderOnly) ) { ~~~~^~~~~~~~~~~~~~~~~ Paned.c:991:15: note: remove extraneous parentheses around the comparison to silence this warning if ( (dir == ThisBorderOnly) ) { ~ ^ ~ Paned.c:991:15: note: use '=' to turn this equality comparison into an assignment 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ResortChildren(pw) ^ Paned.c:1164:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ManageAndUnmanageGrips(pw) ^ Paned.c:1200:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SetChildrenPrefSizes(pw, off_size) ^ Paned.c:1316:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClearPaneStack(); ^ Paned.c:1495:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1530:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1449:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DeleteChild(); ^ Paned.c:1685:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Paned.c:1650:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(); ^ Paned.c:1820:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean PaneSetValues(); ^ 82 warnings generated. --- StripChart.o --- --- SmeLine.o --- rm -f SmeLine.o unshared/SmeLine.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 --- StripChart.o --- rm -f StripChart.o unshared/StripChart.o --- SmeLine.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SmeLine.c -o unshared/SmeLine.o --- SmeThreeD.o --- rm -f SmeThreeD.o unshared/SmeThreeD.o --- StripChart.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO StripChart.c -o unshared/StripChart.o --- SmeThreeD.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SmeThreeD.c -o unshared/SmeThreeD.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 13 warnings generated. 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:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] CreateLabel(new); ^ SimpleMenu.c:551:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); ^ 89 warnings generated. --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 12 warnings generated. --- TextSink.o --- rm -f TextSink.o unshared/TextSink.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextSink.c -o unshared/TextSink.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), _XawSme3dDrawShadows(); ^ 19 warnings generated. rm -f SmeThreeD.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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ 26 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateGCs(), DestroyGCs(), FlipColors(); ^ 40 warnings generated. --- StripChart.o --- rm -f StripChart.o --- TextSrc.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 --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult QueryGeometry(); ^ 13 warnings generated. --- TextAction.o --- --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] PositionHScrollBar(ctx) ^ Text.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DestroyHScrollBar(ctx) ^ Text.c:577:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ctx->text.scroll_vert == XawtextScrollAlways) ^ Text.c:588:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ( (ctx->text.resize == XawtextResizeWidth) || ^ --- TextAction.o --- rm -f TextAction.o unshared/TextAction.o --- Text.o --- Text.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx); ^ Text.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _CreateCutBuffers(d) ^ Text.c:694:28: warning: passing arguments to 'LineAndXYForPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _XawTextGetText(ctx, left, right) ^ Text.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] GetWidestLine(ctx) ^ Text.c:1131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] CheckVBarScrolling(ctx) ^ Text.c:1163:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, n) ^ Text.c:1294:41: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] if (abs(move) < (int)ctx->core.width) { ^ Text.c:1384:7: note: use function 'labs' instead 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && ^ Text.c:2226:11: note: use function 'labs' instead 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*(&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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean LineAndXYForPosition(), TranslateExposeRegion(); ^ 135 warnings generated. rm -f Text.o --- TextAction.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextAction.c -o unshared/TextAction.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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*class->text_sink_class.GetCursorBounds)(w, rect); ^ 38 warnings generated. --- TextPop.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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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] *len_in_out = wcslen(wstr); ^ TextSrc.c:670:19: note: include the header or explicitly provide a declaration for 'wcslen' 25 warnings generated. rm -f 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 --- TextPop.o --- rm -f TextPop.o unshared/TextPop.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextPop.c -o unshared/TextPop.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); ^ 26 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClassPartInitialize(), _XawSme3dDrawShadows(); ^ 19 warnings generated. --- Tip.o --- rm -f Tip.o unshared/Tip.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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:108:13: note: previous declaration is here 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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:109:13: note: previous declaration is here 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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:110:13: note: previous declaration is here 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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:111:13: note: previous declaration is here 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] Boolean out; ^ ./X11/Xaw3d/ThreeD.h:115:1: note: previous declaration is here ); ^ 31 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Reconnect( w, event, params, num_params ) ^ 117 warnings generated. rm -f TextAction.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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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] *len_in_out = wcslen(wstr); ^ TextSrc.c:670:19: note: include the header or explicitly provide a declaration for 'wcslen' 25 warnings generated. --- 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 --- 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 --- Toggle.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Toggle.c -o unshared/Toggle.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:839:68: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:982:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (new_pos == XawTextSearchError) ) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ TextPop.c:982:21: note: remove extraneous parentheses around the comparison to silence this warning if ( (new_pos == XawTextSearchError) ) { ~ ^ ~ TextPop.c:982:21: note: use '=' to turn this equality comparison into an assignment 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, "*** Error while replacing", msg, TRUE); ^ TextPop.c:1028:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ TextPop.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:256:25: warning: passing arguments to 'TurnOffRadioSiblings' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Toggle(w,event,params,num_params) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ToggleDestroy(w, junk, garbage) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] AddToRadioGroup( (RadioGroup *)NULL, w1 ); ^ Toggle.c:384:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] AddToRadioGroup(group, w) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveFromRadioGroup(); ^ Toggle.c:505:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else AddToRadioGroup(group, w); ^ Toggle.c:561:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:561:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) ~ ^ ~ Toggle.c:561:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) ^~ = Toggle.c:581:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:581:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) { ~ ^ ~ Toggle.c:581:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) { ^~ = 34 warnings generated. rm -f 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:108:13: note: previous declaration is here 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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:109:13: note: previous declaration is here 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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:110:13: note: previous declaration is here 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] Position x0, y0, x1, y1; ^ ./X11/Xaw3d/ThreeD.h:111:13: note: previous declaration is here 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] Boolean out; ^ ./X11/Xaw3d/ThreeD.h:115:1: note: previous declaration is here ); ^ 31 warnings generated. --- Vendor.o --- --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:839:68: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TextPop.c:982:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (new_pos == XawTextSearchError) ) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ TextPop.c:982:21: note: remove extraneous parentheses around the comparison to silence this warning if ( (new_pos == XawTextSearchError) ) { ~ ^ ~ TextPop.c:982:21: note: use '=' to turn this equality comparison into an assignment 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SetSearchLabels(search, "*** Error while replacing", msg, TRUE); ^ TextPop.c:1028:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ TextPop.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetWMProtocolTranslations(); ^ 101 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void XawVendorShellInitialize(req, new, args, num_args) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean XawVendorShellSetValues(); ^ Vendor.c:471:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), ChangeManaged(); ^ 21 warnings generated. rm -f 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:218:25: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:256:25: warning: passing arguments to 'TurnOffRadioSiblings' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Toggle(w,event,params,num_params) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Toggle(), Initialize(), Notify(), ToggleSet(); ^ Toggle.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ToggleDestroy(w, junk, garbage) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] AddToRadioGroup( (RadioGroup *)NULL, w1 ); ^ Toggle.c:384:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] AddToRadioGroup(group, w) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); ^ Toggle.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveFromRadioGroup(); ^ Toggle.c:505:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else AddToRadioGroup(group, w); ^ Toggle.c:561:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:561:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) ~ ^ ~ Toggle.c:561:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) ^~ = Toggle.c:581:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ( (local_tog->toggle.radio_data == radio_data) ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:581:40: note: remove extraneous parentheses around the comparison to silence this warning if ( (local_tog->toggle.radio_data == radio_data) ) { ~ ^ ~ Toggle.c:581:40: note: use '=' to turn this equality comparison into an assignment if ( (local_tog->toggle.radio_data == radio_data) ) { ^~ = 34 warnings generated. --- Xaw3dP.o --- rm -f Xaw3dP.o unshared/Xaw3dP.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XawTipDisable(w) ^ 35 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void XawVendorShellInitialize(req, new, args, num_args) ^ --- MultiSrc.o --- --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean XawVendorShellSetValues(); ^ Vendor.c:471:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Realize(), ChangeManaged(); ^ 21 warnings generated. --- MultiSrc.o --- rm -f MultiSrc.o unshared/MultiSrc.o --- Xaw3dP.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Xaw3dP.c -o unshared/Xaw3dP.o --- MultiSink.o --- --- MultiSrc.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO MultiSrc.c -o unshared/MultiSrc.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ( (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void ComputeLayout(widget, query, destroy_scrollbars) ^ Viewport.c:830:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:836:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), Layout(); ^ Viewport.c:879:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ 42 warnings generated. --- MultiSink.o --- rm -f MultiSink.o unshared/MultiSink.o --- Viewport.o --- 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 --- 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 C2x [-Wdeprecated-non-prototype] grayPixel(p, dpy, scn) ^ 1 warning generated. rm -f Xaw3dP.o --- MultiSink.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO MultiSink.c -o unshared/MultiSink.o --- 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] PositionHScrollBar(ctx) ^ Text.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DestroyHScrollBar(ctx) ^ Text.c:577:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ctx->text.scroll_vert == XawtextScrollAlways) ^ Text.c:588:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _XawTextCheckResize(ctx); ^ Text.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _CreateCutBuffers(d) ^ Text.c:694:28: warning: passing arguments to 'LineAndXYForPosition' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _XawTextGetText(ctx, left, right) ^ Text.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] GetWidestLine(ctx) ^ Text.c:1131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] CheckVBarScrolling(ctx) ^ Text.c:1163:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _XawTextVScroll(ctx, n) ^ Text.c:1294:41: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] if (abs(move) < (int)ctx->core.width) { ^ Text.c:1384:7: note: use function 'labs' instead 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && ^ Text.c:2226:11: note: use function 'labs' instead 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*(&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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean LineAndXYForPosition(), TranslateExposeRegion(); ^ 135 warnings generated. --- XawIm.o --- rm -f XawIm.o unshared/XawIm.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XawIm.c -o unshared/XawIm.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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *tmpnam(); ^ /usr/include/stdio.h:288:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern wchar_t* _XawTextMBToWC(); ^ ./X11/Xaw3d/TextSrcP.h:135:10: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *_XawTextWCToMB(); ^ ./X11/Xaw3d/TextSrcP.h:127:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void RemoveOldStringOrFile(), CvtStringToMultiType(); ^ 77 warnings generated. 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 --- 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 C2x [-Wdeprecated-non-prototype] grayPixel(p, dpy, scn) ^ 1 warning generated. --- laygram.o --- --- MultiSink.o --- MultiSink.c:209:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DisplayText(w, x, y, pos1, pos2, highlight) ^ --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindDistance(), Resolve(), GetCursorBounds(); ^ --- TextAction.o --- _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] GetSelection(w, list->time, list->params, list->count); ^ --- laygram.o --- rm -f laygram.o unshared/laygram.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO laygram.c -o unshared/laygram.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- TextAction.o --- 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] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _XawTextSetScrollBars(ctx); ^ --- MultiSink.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Resolve (w, pos, fromx, width, leftPos, rightPos) ^ --- TextAction.o --- TextAction.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] InsertSelection(w, event, params, num_params) ^ --- MultiSink.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Initialize(), Destroy(); ^ --- TextAction.o --- TextAction.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MoveBackwardWord(w, event, p, n) ^ --- MultiSink.o --- MultiSink.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SetValues(current, request, new, args, num_args) ^ --- TextAction.o --- TextAction.c:418:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- MultiSink.o --- 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); --- TextAction.o --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ^ MultiSink.c:671:1: note: conflicting prototype is here 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ MultiSink.c:696:1: note: conflicting prototype is here SetTabs( ^ MultiSink.c:737:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 29 warnings generated. --- MultiSink.o --- rm -f MultiSink.o --- TextAction.o --- _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] --- 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 --- TextAction.o --- _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] Reconnect( w, event, params, num_params ) ^ 117 warnings 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static VendorShellWidget SearchVendorShell( w ) ^ XawIm.c:148:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static Boolean IsCreatedIC(w, ve) ^ XawIm.c:677:66: warning: missing sentinel in function call [-Wsentinel] 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:3899:14: note: function has been explicitly marked sentinel here extern char *XGetICValues( ^ XawIm.c:717:66: warning: missing sentinel in function call [-Wsentinel] 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:3895:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:654:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SizeNegotiation(p, width, height) ^ XawIm.c:834:37: warning: missing sentinel in function call [-Wsentinel] pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:845:37: warning: missing sentinel in function call [-Wsentinel] st_a[17], st_a[18], st_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:854:58: warning: missing sentinel in function call [-Wsentinel] ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3867:12: note: function has been explicitly marked sentinel here extern XIC XCreateIC( ^ XawIm.c:727:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CreateIC( w, ve ) ^ XawIm.c:972:50: warning: missing sentinel in function call [-Wsentinel] pe_a[16], pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:982:50: warning: missing sentinel in function call [-Wsentinel] st_a[16], st_a[17], st_a[18], st_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:995:46: warning: missing sentinel in function call [-Wsentinel] ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3895:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:875:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (extContext != (XContext)NULL && ^~~~~~~~~~~~~~ XawIm.c:1376:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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] _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] _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] _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] _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 C2x [-Wdeprecated-non-prototype] XawVendorShellExtResize(vw); ^ 64 warnings generated. rm -f 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 --- 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 C2x [-Wdeprecated-non-prototype] 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] YYERROR_CALL("syntax error"); ^ y.tab.c:84:27: note: expanded from macro 'YYERROR_CALL' #define YYERROR_CALL(msg) LayYYerror(msg) ^ 2 warnings generated. 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 --- 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ( (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static void ComputeLayout(widget, query, destroy_scrollbars) ^ Viewport.c:830:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:836:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ Viewport.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean SetValues(), Layout(); ^ Viewport.c:879:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XtGeometryResult GeometryManager(), PreferredGeometry(); ^ 42 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] laylex.l:93:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:95:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] laylex.l:114:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_LayYYinput(buf, result, max_size) ^ 10 warnings generated. rm -f 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 --- 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *tmpnam(); ^ /usr/include/stdio.h:288:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern wchar_t* _XawTextMBToWC(); ^ ./X11/Xaw3d/TextSrcP.h:135:10: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *_XawTextWCToMB(); ^ ./X11/Xaw3d/TextSrcP.h:127:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] YYERROR_CALL("syntax error"); ^ y.tab.c:84:27: note: expanded from macro 'YYERROR_CALL' #define YYERROR_CALL(msg) LayYYerror(msg) ^ 2 warnings generated. --- MultiSink.o --- MultiSink.c:209:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int MaxLines(), MaxHeight(); ^ MultiSink.c:671:1: note: conflicting prototype is here 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetTabs(); ^ MultiSink.c:696:1: note: conflicting prototype is here SetTabs( ^ MultiSink.c:737:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 29 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static VendorShellWidget SearchVendorShell( w ) ^ XawIm.c:148:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] static Boolean IsCreatedIC(w, ve) ^ XawIm.c:677:66: warning: missing sentinel in function call [-Wsentinel] 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:3899:14: note: function has been explicitly marked sentinel here extern char *XGetICValues( ^ XawIm.c:717:66: warning: missing sentinel in function call [-Wsentinel] 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:3895:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:654:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SizeNegotiation(p, width, height) ^ XawIm.c:834:37: warning: missing sentinel in function call [-Wsentinel] pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:845:37: warning: missing sentinel in function call [-Wsentinel] st_a[17], st_a[18], st_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:854:58: warning: missing sentinel in function call [-Wsentinel] ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3867:12: note: function has been explicitly marked sentinel here extern XIC XCreateIC( ^ XawIm.c:727:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CreateIC( w, ve ) ^ XawIm.c:972:50: warning: missing sentinel in function call [-Wsentinel] pe_a[16], pe_a[17], pe_a[18], pe_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:982:50: warning: missing sentinel in function call [-Wsentinel] st_a[16], st_a[17], st_a[18], st_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3939:22: note: function has been explicitly marked sentinel here extern XVaNestedList XVaCreateNestedList( ^ XawIm.c:995:46: warning: missing sentinel in function call [-Wsentinel] ic_a[16], ic_a[17], ic_a[18], ic_a[19]); ^ , NULL /usr/local/include/X11/Xlib.h:3895:14: note: function has been explicitly marked sentinel here extern char *XSetICValues( ^ XawIm.c:875:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (extContext != (XContext)NULL && ^~~~~~~~~~~~~~ XawIm.c:1376:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 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 C2x [-Wdeprecated-non-prototype] 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] _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] _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] _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] _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 C2x [-Wdeprecated-non-prototype] XawVendorShellExtResize(vw); ^ 64 warnings generated. --- 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] laylex.l:93:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:95:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] laylex.l:114:1: warning: non-void function does not return a value [-Wreturn-type] } ^ laylex.l:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] my_LayYYinput(buf, result, max_size) ^ 10 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=2024-01-09T10:25:48+0000' 'PKG_NOTE_ports_top_git_hash=ad5dd62b5905' '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.20240105' 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 Tue Jan 9 04:26:16 CST 2024 build time: 00:00:29