=>> Building games/xdeblock build started at Thu Jan 22 07:21:53 EST 2026 port directory: /usr/ports/games/xdeblock package name: xdeblock-1.0_3 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 725 Aug 27 2024 /usr/ports/games/xdeblock/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 01 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/01/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- 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/games/xdeblock/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xdeblock/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xdeblock/work/.cache HOME=/wrkdirs/usr/ports/games/xdeblock/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xdeblock/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xdeblock/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/games/xdeblock/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xdeblock/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xdeblock/work/.cache HOME=/wrkdirs/usr/ports/games/xdeblock/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xdeblock/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xdeblock/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 -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xdeblock" EXAMPLESDIR="share/examples/xdeblock" DATADIR="share/xdeblock" WWWDIR="www/xdeblock" ETCDIR="etc/xdeblock" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xdeblock DOCSDIR=/usr/local/share/doc/xdeblock EXAMPLESDIR=/usr/local/share/examples/xdeblock WWWDIR=/usr/local/www/xdeblock ETCDIR=/usr/local/etc/xdeblock --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xdeblock 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 ===> xdeblock-1.0_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> xdeblock-1.0_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xdeblock-1.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xdeblock 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 xdeblock-1.0_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xdeblock 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 xdeblock-1.0_3 for building => SHA256 Checksum OK for xdeblock.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xdeblock 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 xdeblock-1.0_3 for building ===> Extracting for xdeblock-1.0_3 => SHA256 Checksum OK for xdeblock.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xdeblock-1.0_3 ===> Applying FreeBSD patches for xdeblock-1.0_3 from /usr/ports/games/xdeblock/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xdeblock-1.0_3 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xdeblock-1.0_3 depends on executable: imake - found ===> Returning to build of xdeblock-1.0_3 ===> xdeblock-1.0_3 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> xdeblock-1.0_3 depends on executable: tradcpp - found ===> Returning to build of xdeblock-1.0_3 ===> xdeblock-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.17_1.pkg [pkg.DaveG.ca] Installing libXpm-3.5.17_1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Installing libX11-1.8.12,1... [pkg.DaveG.ca] | `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] | `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] `-- Extracting libX11-1.8.12,1: .......... done [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] Extracting libXpm-3.5.17_1: .......... done ===> xdeblock-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of xdeblock-1.0_3 ===> xdeblock-1.0_3 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> xdeblock-1.0_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xdeblock-1.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xdeblock-1.0_3 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xdeblock-1.0_3 --- main.o --- --- misc.o --- --- file.o --- --- dialog.o --- --- gamemain.o --- --- gameball.o --- --- gameblock.o --- --- gamedraw.o --- --- gameitems.o --- --- gamestat.o --- --- main.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c main.c -o main.o --- misc.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c misc.c -o misc.o --- file.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c file.c -o file.o --- dialog.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c dialog.c -o dialog.o --- gamemain.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c gamemain.c -o gamemain.o --- gameball.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c gameball.c -o gameball.o --- gameblock.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c gameblock.c -o gameblock.o --- gamedraw.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c gamedraw.c -o gamedraw.o --- gamestat.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c gamestat.c -o gamestat.o --- gameitems.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/include/X11 -I/usr/local/include -c gameitems.c -o gameitems.o --- misc.o --- misc.c:21:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | void drawText(disp,win,x,y,text,color) | ^ misc.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | void drawMiniText(disp,win,x,y,text,color,shadow) | ^ misc.c:82:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | void drawShadowText(disp,win,x,y,text,color) | ^ misc.c:114:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | void drawWithMask(disp,win,pixmap,mask,x,y,wid,hei) | ^ misc.c:138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | void setRect(rect,x,y,wid,hei) | ^ misc.c:151:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | int ptInRect(rect,x,y) | ^ misc.c:160:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | unsigned long time2long(time) | ^ misc.c:172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | void long2time(time,rtn_time) | ^ misc.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void gameSleep(display, slp) | ^ misc.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | void handleXPMError(errorStatus, tag) | ^ 10 warnings generated. --- gamestat.o --- gamestat.c:31:3: warning: call to undeclared function 'drawBack_Offs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | drawBack_Offs(702,360,120,60); | ^ gamestat.c:33:21: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 33 | sprintf(text,"%d",nowDataRec.nowMap.myScore); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %ld gamestat.c:34:3: warning: call to undeclared function 'drawText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | drawText(display,mWin,712,380,text,black.pixel); | ^ gamestat.c:44:3: warning: call to undeclared function 'drawBack_Offs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | drawBack_Offs(777,240,45,60); | ^ gamestat.c:47:3: warning: call to undeclared function 'drawText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | drawText(display,mWin,787,260,text,black.pixel); | ^ gamestat.c:55:3: warning: call to undeclared function 'drawBack_Offs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | drawBack_Offs(777,180,45,60); | ^ gamestat.c:58:3: warning: call to undeclared function 'drawText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | drawText(display,mWin,787,195,text,black.pixel); | ^ gamestat.c:68:3: warning: call to undeclared function 'drawBack_Offs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | drawBack_Offs(702,480,120,60); | ^ gamestat.c:73:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 73 | sprintf(text,"%d",tempNum); | ~~ ^~~~~~~ | %lu gamestat.c:74:3: warning: call to undeclared function 'drawText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | drawText(display,mWin,x,495,text,black.pixel); | ^ gamestat.c:83:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 83 | sprintf(text,"%d",tempNum); | ~~ ^~~~~~~ | %lu 11 warnings generated. --- gameball.o --- gameball.c:27:36: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 27 | nowDataRec.nowMap.nowFlg.timeFlg = True; | ^ ~~~~ gameball.c:34:7: warning: call to undeclared function 'stringDrawUpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | stringDrawUpData(); | ^ gameball.c:41:38: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 41 | nowDataRec.nowMap.nowFlg.errPatch1 = True; | ^ ~~~~ gameball.c:47:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | register i,mvMax; | ~~~~~~~~ ^ | int gameball.c:47:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | register i,mvMax; | ~~~~~~~~ ^ | int gameball.c:57:7: warning: call to undeclared function 'statBallDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | statBallDraw(); | ^ gameball.c:70:44: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 70 | nowDataRec.nowBall[i].nowFlg.life = True; | ^ ~~~~ gameball.c:88:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | register i; | ~~~~~~~~ ^ | int gameball.c:90:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | register tempx,barWid; | ~~~~~~~~ ^ | int gameball.c:90:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | register tempx,barWid; | ~~~~~~~~ ^ | int gameball.c:87:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | void touchBarCheckBall(i) | ^ gameball.c:153:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | register i; | ~~~~~~~~ ^ | int gameball.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | void touchWallCheckBall(i) | ^ gameball.c:211:4: warning: call to undeclared function 'drawBack_Off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | drawBack_Off(&nowDataRec.nowBar.nowRect); | ^ gameball.c:213:4: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | drawBar(); | ^ gameball.c:224:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 224 | gameMainFlg.clearString = True; | ^ ~~~~ gameball.c:225:7: warning: call to undeclared function 'openingString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | openingString(); | ^ gameball.c:231:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 231 | register i,boxNum; | ~~~~~~~~ ^ | int gameball.c:231:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 231 | register i,boxNum; | ~~~~~~~~ ^ | int gameball.c:230:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | int lostCheckBall(i,boxNum) | ^ gameball.c:253:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | register i,j,maxNum; | ~~~~~~~~ ^ | int gameball.c:253:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | register i,j,maxNum; | ~~~~~~~~ ^ | int gameball.c:253:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | register i,j,maxNum; | ~~~~~~~~ ^ | int gameball.c:271:7: warning: call to undeclared function 'drawBall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | drawBall(i); | ^ 24 warnings generated. --- dialog.o --- dialog.c:35:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | register i,j; | ~~~~~~~~ ^ | int dialog.c:35:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 35 | register i,j; | ~~~~~~~~ ^ | int dialog.c:63:3: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | handleXPMError(err,"AboutDLG back"); | ^ dialog.c:66:3: warning: call to undeclared function 'drawMiniText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | drawMiniText(display,aboutWin,20,260,"XDeBlock ver.1.0",blue.pixel,True); | ^ dialog.c:76:4: warning: call to undeclared function 'reDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | reDraw(&event); | ^ dialog.c:82:11: warning: call to undeclared function 'handleHiScoreButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | flg = !handleHiScoreButton(&event); | ^ dialog.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | int handleHiScoreButton(event) | ^ dialog.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int handleInputKey(event,name,num) | ^ dialog.c:176:3: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | drawShadowText(display,win,10,10, | ^ dialog.c:179:3: warning: call to undeclared function 'drawMiniText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | drawMiniText(display,win,20,120, | ^ dialog.c:185:15: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 185 | strcpy(name,nowDataRec.nowMap.playerName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:193:3: warning: call to undeclared function 'drawText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | drawText(display,win,x,70,"|",white.pixel); | ^ dialog.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void draw_inputname(win,name,num) | ^ dialog.c:199:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | register i,j; | ~~~~~~~~ ^ | int dialog.c:199:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | register i,j; | ~~~~~~~~ ^ | int dialog.c:231:3: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | handleXPMError(err,"inputnameDLG back"); | ^ dialog.c:238:27: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | draw_inputname(inputWin,name,&num); | ^~~~ dialog.c:250:28: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 250 | draw_inputname(inputWin,name,&num); | ^~~~ dialog.c:251:4: warning: call to undeclared function 'reDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | reDraw(&event); | ^ dialog.c:255:27: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 255 | if(handleHiScoreButton(&event) == 1) | ^~~~~~ dialog.c:257:15: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | strcpy(nowDataRec.nowMap.playerName,name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:257:44: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | strcpy(nowDataRec.nowMap.playerName,name); | ^~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:260:32: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 260 | else if(handleHiScoreButton(&event) == 3) | ^~~~~~ dialog.c:265:26: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 265 | flg = !handleInputKey(&event,name,&num); | ^~~~~~ dialog.c:265:33: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | flg = !handleInputKey(&event,name,&num); | ^~~~ dialog.c:269:4: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | drawShadowText(display,inputWin,x,70,name,blue.pixel); | ^ dialog.c:271:38: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | x += XTextWidth(xfont,name,strlen(name)); | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ dialog.c:271:26: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | x += XTextWidth(xfont,name,strlen(name)); | ^~~~ /usr/local/include/X11/Xlib.h:3446:31: note: passing argument to parameter here 3446 | _Xconst char* /* string */, | ^ dialog.c:272:4: warning: call to undeclared function 'drawText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | drawText(display,inputWin,x,70,"|",white.pixel); | ^ dialog.c:278:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | strcpy(nowDataRec.nowMap.playerName,name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:278:39: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 278 | strcpy(nowDataRec.nowMap.playerName,name); | ^~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:279:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 279 | gameMainFlg.inputName = True; | ^ ~~~~ dialog.c:294:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 294 | register i,j; | ~~~~~~~~ ^ | int dialog.c:294:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 294 | register i,j; | ~~~~~~~~ ^ | int dialog.c:301:3: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | drawShadowText(display,win,70,15, | ^ dialog.c:311:3: warning: call to undeclared function 'drawMiniText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | drawMiniText(display,win,100,440, | ^ dialog.c:324:15: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 324 | sprintf(tempBuf,"%d",i+1); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ dialog.c:333:15: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 333 | sprintf(tempBuf,"%d",num); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ dialog.c:342:12: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 342 | sprintf(tempBuf,"%d",num); | ^~~~~~~ /usr/include/stdio.h:285:31: note: passing argument to parameter here 285 | int sprintf(char * __restrict, const char * __restrict, ...); | ^ dialog.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | void draw_hiscore(win) | ^ dialog.c:352:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 352 | register i,j; | ~~~~~~~~ ^ | int dialog.c:352:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 352 | register i,j; | ~~~~~~~~ ^ | int dialog.c:380:3: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 380 | handleXPMError(err,"hiscoreDLG back"); | ^ dialog.c:396:7: warning: call to undeclared function 'countTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | countTime(); | ^ dialog.c:403:4: warning: call to undeclared function 'reDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | reDraw(&event); | ^ dialog.c:407:31: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 407 | flg = !handleHiScoreButton(&event); | ^~~~~~ dialog.c:436:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 436 | register i = 0; | ~~~~~~~~ ^ | int dialog.c:458:11: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 458 | strcpy(fname[i],dir->d_name); | ^~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:469:11: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 469 | strcpy(fname[i],newname); | ^~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | void checkdir(dirname,fname,fflag) | ^ dialog.c:490:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 490 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:490:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 490 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:490:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 490 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:497:6: warning: call to undeclared function 'setRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 497 | setRect(&box,18 +210*k,68 +40*j,200,35); | ^ dialog.c:499:9: warning: call to undeclared function 'ptInRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | if(ptInRect(&box,x,y)) | ^ dialog.c:513:7: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | drawShadowText(display,win,20 +210*k ,70 +40*j,fname[*num], | ^ dialog.c:483:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | void handleSelectMap(win,fname,fflag,x,y,num,push) | ^ dialog.c:528:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | void handleMapButton(win,fname,fflag,num,event) | ^ dialog.c:548:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | void handleMapMotion(win,fname,fflag,num,event) | ^ dialog.c:565:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 565 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:565:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 565 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:565:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 565 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:570:3: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | drawShadowText(display,win,150,20, | ^ dialog.c:573:3: warning: call to undeclared function 'drawMiniText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 573 | drawMiniText(display,win,150,460, | ^ dialog.c:560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | void draw_dir(win,fname,fflag) | ^ dialog.c:587:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 587 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:587:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 587 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:587:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 587 | register i,j,k; | ~~~~~~~~ ^ | int dialog.c:617:3: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 617 | handleXPMError(err,"selectmapDLG back"); | ^ dialog.c:627:20: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 627 | strcpy(now_dir,nowDataRec.nowMap.dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:644:4: warning: call to undeclared function 'reDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 644 | reDraw(&event); | ^ dialog.c:648:47: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 648 | handleMapButton(selectWin,fname,fflag,&num,&event); | ^~~~~~ dialog.c:662:12: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 662 | strcpy(nowDataRec.nowMap.filename,now_dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ dialog.c:671:47: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XPointerMovedEvent *' (aka 'XMotionEvent *') [-Wincompatible-pointer-types] 671 | handleMapMotion(selectWin,fname,fflag,&num,&event); | ^~~~~~ 74 warnings generated. --- gameitems.o --- gameitems.c:60:3: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | handleXPMError(err,"init item[1]"); | ^ gameitems.c:118:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | register i; | ~~~~~~~~ ^ | int gameitems.c:127:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | register iNum,box,itemMax; | ~~~~~~~~ ^ | int gameitems.c:127:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | register iNum,box,itemMax; | ~~~~~~~~ ^ | int gameitems.c:127:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | register iNum,box,itemMax; | ~~~~~~~~ ^ | int gameitems.c:142:7: warning: call to undeclared function 'drawItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | drawItem(iNum); | ^ gameitems.c:146:10: warning: call to undeclared function 'touchBarCheckItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | if(touchBarCheckItem(iNum,box)) | ^ gameitems.c:151:10: warning: call to undeclared function 'lostCheckItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | if(lostCheckItem(iNum,box)) | ^ gameitems.c:160:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | register iNum,box; | ~~~~~~~~ ^ | int gameitems.c:160:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | register iNum,box; | ~~~~~~~~ ^ | int gameitems.c:162:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | register itemRight,barRight; | ~~~~~~~~ ^ | int gameitems.c:162:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | register itemRight,barRight; | ~~~~~~~~ ^ | int gameitems.c:172:6: warning: call to undeclared function 'drawBack_Off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | drawBack_Off(&nowDataRec.nowItem[iNum].nowRect); | ^ gameitems.c:173:6: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | drawBar(); | ^ gameitems.c:178:16: warning: passing arguments to 'itemEffect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | itemEffect(iNum); | ^ gameitems.c:159:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | int touchBarCheckItem(iNum ,box) | ^ gameitems.c:187:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | register iNum,box; | ~~~~~~~~ ^ | int gameitems.c:187:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | register iNum,box; | ~~~~~~~~ ^ | int gameitems.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void disposeItem(iNum,box) | ^ gameitems.c:197:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | register iNum,box; | ~~~~~~~~ ^ | int gameitems.c:197:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | register iNum,box; | ~~~~~~~~ ^ | int gameitems.c:196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | int lostCheckItem(iNum,box) | ^ gameitems.c:210:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 210 | register kind; | ~~~~~~~~ ^ | int gameitems.c:212:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | register i; | ~~~~~~~~ ^ | int gameitems.c:288:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 288 | nowDataRec.nowItem[i].nowFlg.life = True; | ^ ~~~~ gameitems.c:208:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | void serveItem(tempRect,kind) | ^ gameitems.c:296:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | register k; | ~~~~~~~~ ^ | int gameitems.c:298:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 298 | register temp; | ~~~~~~~~ ^ | int gameitems.c:301:10: warning: call to undeclared function 'g_random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | temp = g_random(); | ^ gameitems.c:332:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 332 | else | ^ gameitems.c:295:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | void randomItem(k) | ^ gameitems.c:364:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 364 | register itemNum; | ~~~~~~~~ ^ | int gameitems.c:366:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 366 | register i,j,k,num; | ~~~~~~~~ ^ | int gameitems.c:366:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 366 | register i,j,k,num; | ~~~~~~~~ ^ | int gameitems.c:366:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 366 | register i,j,k,num; | ~~~~~~~~ ^ | int gameitems.c:366:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 366 | register i,j,k,num; | ~~~~~~~~ ^ | int gameitems.c:372:7: warning: call to undeclared function 'statScoreDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | statScoreDraw(); | ^ gameitems.c:396:7: warning: call to undeclared function 'touchWallCheckBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | touchWallCheckBar(); | ^ gameitems.c:397:7: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | drawBar(); | ^ gameitems.c:426:7: warning: call to undeclared function 'statBallDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 426 | statBallDraw(); | ^ gameitems.c:448:4: warning: call to undeclared function 'serveBall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | serveBall(); | ^ gameitems.c:488:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 488 | gameMainFlg.wallThrough = True; | ^ ~~~~ gameitems.c:495:7: warning: call to undeclared function 'g_random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | if(g_random() >0) | ^ gameitems.c:363:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | void itemEffect(itemNum) | ^ gameitems.c:46:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | void itemEffect(); | ^ 45 warnings generated. --- gamedraw.o --- gamedraw.c:134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | void drawBack_Pic(r) | ^ gamedraw.c:142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | void drawBack_Pics(x,y,wid,hei) | ^ gamedraw.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | void drawBack_Off(r) | ^ gamedraw.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | void drawBack_Offs(x,y,wid,hei) | ^ gamedraw.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void drawOff_Pic(r) | ^ gamedraw.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | void drawOff_Pics(x,y,wid,hei) | ^ gamedraw.c:192:5: warning: call to undeclared function 'drawWithMask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | drawWithMask(display,offPixmap,bloPm[px_id],bloMPm[px_id], | ^ gamedraw.c:184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | void drawOff_Blo(clear,draw,px_id) | ^ gamedraw.c:215:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | register i; | ~~~~~~~~ ^ | int gamedraw.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | void drawBall(i) | ^ gamedraw.c:232:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | register iNum; | ~~~~~~~~ ^ | int gamedraw.c:234:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | register tempLengh; | ~~~~~~~~ ^ | int gamedraw.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | void drawItem(iNum) | ^ gamedraw.c:273:3: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | handleXPMError(err,"init bloPm[0]"); | ^ gamedraw.c:611:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 611 | register i; | ~~~~~~~~ ^ | int gamedraw.c:622:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 622 | register i,bloMax; | ~~~~~~~~ ^ | int gamedraw.c:622:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 622 | register i,bloMax; | ~~~~~~~~ ^ | int gamedraw.c:631:4: warning: call to undeclared function 'drawWithMask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 631 | drawWithMask(display,offPixmap, | ^ gamedraw.c:638:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 638 | else | ^ gamedraw.c:663:3: warning: call to undeclared function 'statScoreDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 663 | statScoreDraw(); | ^ gamedraw.c:664:3: warning: call to undeclared function 'statBallDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 664 | statBallDraw(); | ^ gamedraw.c:665:3: warning: call to undeclared function 'statStageDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | statStageDraw(); | ^ gamedraw.c:666:3: warning: call to undeclared function 'statTimeDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 666 | statTimeDraw(); | ^ gamedraw.c:671:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | void myDrawPic(id) | ^ gamedraw.c:688:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 688 | register x,y; | ~~~~~~~~ ^ | int gamedraw.c:688:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 688 | register x,y; | ~~~~~~~~ ^ | int gamedraw.c:700:7: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 700 | handleXPMError(err,"init backpic pato"); | ^ gamedraw.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void putBackPattarn(win,wid,hei,num) | ^ gamedraw.c:807:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 807 | register x,y; | ~~~~~~~~ ^ | int gamedraw.c:807:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 807 | register x,y; | ~~~~~~~~ ^ | int gamedraw.c:826:7: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 826 | handleXPMError(err,"init wall"); | ^ gamedraw.c:855:44: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 855 | nowDataRec.nowMap.nowFlg.backPicDraw =True; | ^~~~~ 32 warnings generated. --- main.o --- main.c:59:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | register i,j; | ~~~~~~~~ ^ | int main.c:59:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | register i,j; | ~~~~~~~~ ^ | int main.c:69:10: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 69 | strcpy(nowDataRec.nowMap.dirname, "/usr/local/lib/X11/xdeblock/mapf"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:91:11: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 91 | strcpy(nowDataRec.nowMap.dirname,argv[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:112:11: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | strcpy(nowDataRec.nowMap.filename,argv[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:113:8: warning: call to undeclared function 'loadMapData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | if(!loadMapData(False)) | ^ main.c:118:4: warning: call to undeclared function 'clearHiScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | clearHiScore(); | ^ main.c:126:11: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | strcpy(nowDataRec.nowMap.filename,argv[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:127:8: warning: call to undeclared function 'loadMapData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | if(!loadMapData(False)) | ^ main.c:133:4: warning: call to undeclared function 'saveMapText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | saveMapText(); | ^ main.c:141:11: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | strcpy(nowDataRec.nowMap.filename,argv[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:142:8: warning: call to undeclared function 'loadMapData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if(!loadMapData(False)) | ^ main.c:148:4: warning: call to undeclared function 'fileUpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | fileUpData(); | ^ main.c:156:22: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 156 | gameMainFlg.s_map = True; | ^ ~~~~ main.c:160:11: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 160 | strcpy(nowDataRec.nowMap.filename,argv[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:161:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 161 | gameMainFlg.use_argv = True; | ^ ~~~~ main.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int checkOption(argc,argv) | ^ main.c:286:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 286 | gameMainFlg.life = True; /** can play game flg ****/ | ^ ~~~~ main.c:288:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 288 | gameMainFlg.reDraw = True; /** ??? **/ | ^ ~~~~ main.c:289:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 289 | gameMainFlg.hidePen = True; /** cursor view mode ****/ | ^ ~~~~ main.c:293:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 293 | gameMainFlg.reDraw2 = True; /** osEvt cursor flg ****/ | ^ ~~~~ main.c:294:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 294 | gameMainFlg.errPatch1 = True; /** active window flg ****/ | ^ ~~~~ main.c:296:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 296 | gameMainFlg.useWinOut = True; /** use wait cursor out of Window **/ | ^ ~~~~ main.c:315:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 315 | strcpy(nowDataRec.nowMap.playerName,getenv("USER")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:326:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 326 | register i,num; | ~~~~~~~~ ^ | int main.c:326:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 326 | register i,num; | ~~~~~~~~ ^ | int main.c:343:7: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | drawShadowText(display,mWin,300,95, | ^ main.c:349:4: warning: call to undeclared function 'setRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | setRect(&box,250,130+(45*i),24,24); | ^ main.c:350:4: warning: call to undeclared function 'serveItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | serveItem(&box,num); | ^ main.c:359:29: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 359 | gameMainFlg.inputName = True; | ^ ~~~~ main.c:360:7: warning: call to undeclared function 'gameMain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | gameMain(); | ^ main.c:369:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | register i; | ~~~~~~~~ ^ | int main.c:384:3: warning: call to undeclared function 'handleXPMError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | handleXPMError(err,"title back"); | ^ main.c:389:3: warning: call to undeclared function 'putBackPattarn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | putBackPattarn(offPixmap,dWinWidth,dWinHeight,303); | ^ main.c:401:46: warning: passing 'unsigned char[2124]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | tPix = XCreateBitmapFromData(display,mWin,x_bits,x_width,x_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:408:46: warning: passing 'unsigned char[670]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 408 | tPix = XCreateBitmapFromData(display,mWin,d_bits,d_width,d_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:415:46: warning: passing 'unsigned char[336]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 415 | tPix = XCreateBitmapFromData(display,mWin,e_bits,e_width,e_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:422:46: warning: passing 'unsigned char[670]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 422 | tPix = XCreateBitmapFromData(display,mWin,b_bits,b_width,b_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:429:46: warning: passing 'unsigned char[335]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 429 | tPix = XCreateBitmapFromData(display,mWin,l_bits,l_width,l_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:436:46: warning: passing 'unsigned char[384]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 436 | tPix = XCreateBitmapFromData(display,mWin,o_bits,o_width,o_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:443:46: warning: passing 'unsigned char[336]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 443 | tPix = XCreateBitmapFromData(display,mWin,c_bits,c_width,c_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:450:46: warning: passing 'unsigned char[603]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | tPix = XCreateBitmapFromData(display,mWin,k_bits,k_width,k_height); | ^~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ main.c:455:7: warning: call to undeclared function 'drawWithMask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | drawWithMask(display,offPixmap,tempXpm,tempXpmMs,x+10,y+10,pic_x,pic_y); | ^ main.c:470:3: warning: call to undeclared function 'drawMiniText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | drawMiniText(display,offPixmap,170,360, | ^ main.c:473:3: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | drawShadowText(display,offPixmap,170,420, | ^ main.c:518:7: warning: call to undeclared function 'drawWithMask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 518 | drawWithMask(display,offPixmap,tempXpm,tempXpmMs,54+105*i,480,96,48); | ^ main.c:529:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 529 | register i,iNum; | ~~~~~~~~ ^ | int main.c:529:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 529 | register i,iNum; | ~~~~~~~~ ^ | int main.c:537:6: warning: call to undeclared function 'disposeItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 537 | disposeItem(iNum,i); | ^ main.c:542:27: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 542 | gameMainFlg.demoFlg = True; | ^ ~~~~ main.c:555:7: warning: call to undeclared function 'drawItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | drawItem(iNum); | ^ main.c:558:3: warning: call to undeclared function 'gameSleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 558 | gameSleep(display,10); | ^ main.c:559:3: warning: call to undeclared function 'countTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 559 | countTime(); | ^ main.c:582:7: warning: call to undeclared function 'gameMain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | gameMain(); | ^ main.c:589:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 589 | gameMainFlg.useContinue = True; | ^ ~~~~ main.c:597:7: warning: call to undeclared function 'loadMapData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | loadMapData(True); | ^ main.c:601:7: warning: call to undeclared function 'nameInputDLG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | nameInputDLG(); | ^ main.c:608:7: warning: call to undeclared function 'hiScoreDLG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 608 | hiScoreDLG(); | ^ main.c:616:7: warning: call to undeclared function 'aboutDLG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 616 | aboutDLG(); | ^ main.c:572:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | int checkTitleButton(num) | ^ main.c:632:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 632 | register i; | ~~~~~~~~ ^ | int main.c:638:7: warning: call to undeclared function 'setRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 638 | setRect(&buttonRect,54 +105*i,480,96,48); | ^ main.c:639:10: warning: call to undeclared function 'ptInRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 639 | if(ptInRect(&buttonRect,x,y)) | ^ main.c:650:28: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 650 | gameMainFlg.getMode = True; | ^ ~~~~ main.c:664:6: warning: call to undeclared function 'setRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 664 | setRect(&buttonRect,54+105*nowDataRec.nowBar.nowAct,480,96,48); | ^ main.c:665:6: warning: call to undeclared function 'drawBack_Off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | drawBack_Off(&buttonRect); | ^ main.c:674:2: warning: call to undeclared function 'setRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 674 | setRect(&buttonRect,54+105*nowDataRec.nowBar.nowAct,480,96,48); | ^ main.c:675:2: warning: call to undeclared function 'drawBack_Off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 675 | drawBack_Off(&buttonRect); | ^ main.c:669:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 669 | else | ^ main.c:628:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | int handleTitleButton(x,y,updown) | ^ main.c:681:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | int handleTitleMouseRelease(event) | ^ main.c:703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | void handleTitleMouseMotion(event) | ^ main.c:711:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | void handleTitleMouseDown(event) | ^ main.c:734:3: warning: call to undeclared function 'drawBack_Offs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 734 | drawBack_Offs(event->x,event->y,event->width,event->height); | ^ main.c:730:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | void reDraw(event) | ^ main.c:742:5: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | drawShadowText(display,mWin,310,420, | ^ main.c:764:15: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 764 | strcpy(nowfile,nowDataRec.nowMap.dirname); | ^~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:764:23: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 764 | strcpy(nowfile,nowDataRec.nowMap.dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:765:15: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 765 | strcat(nowfile,"/"); | ^~~~~~~ /usr/include/string.h:79:31: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ main.c:766:15: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 766 | strcat(nowfile,nowDataRec.nowMap.filename); | ^~~~~~~ /usr/include/string.h:79:31: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ main.c:766:23: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 766 | strcat(nowfile,nowDataRec.nowMap.filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:79:56: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ main.c:767:15: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 767 | strcpy(nowDataRec.nowMap.filename,nowfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:767:42: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 767 | strcpy(nowDataRec.nowMap.filename,nowfile); | ^~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ main.c:770:8: warning: call to undeclared function 'loadMapData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 770 | if(!loadMapData(False)) | ^ main.c:776:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 776 | gameMainFlg.openMap = True; | ^ ~~~~ main.c:782:4: warning: call to undeclared function 'gameMain'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 782 | gameMain(); | ^ main.c:801:12: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XExposeEvent *' [-Wincompatible-pointer-types] 801 | reDraw(&event); | ^~~~~~ main.c:809:32: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 809 | if(handleTitleMouseRelease(&event)) | ^~~~~~ main.c:822:26: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 822 | handleTitleMouseDown(&event); | ^~~~~~ main.c:829:28: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XPointerMovedEvent *' (aka 'XMotionEvent *') [-Wincompatible-pointer-types] 829 | handleTitleMouseMotion(&event); | ^~~~~~ main.c:858:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 858 | void main(argc,argv) | ^ main.c:858:1: note: change return type to 'int' 858 | void main(argc,argv) | ^~~~ | int main.c:871:3: warning: call to undeclared function 'initItemPix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | initItemPix(); | ^ main.c:872:3: warning: call to undeclared function 'initBlockPix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 872 | initBlockPix(); | ^ main.c:880:3: warning: call to undeclared function 'freeItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 880 | freeItem(); | ^ main.c:881:3: warning: call to undeclared function 'freeBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 881 | freeBlock(); | ^ main.c:858:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | void main(argc,argv) | ^ 96 warnings generated. --- gameblock.o --- gameblock.c:31:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | register bloNum,ball; | ~~~~~~~~ ^ | int gameblock.c:31:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | register bloNum,ball; | ~~~~~~~~ ^ | int gameblock.c:33:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | register i; | ~~~~~~~~ ^ | int gameblock.c:42:3: warning: call to undeclared function 'serveBall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | serveBall(); | ^ gameblock.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | void blockToBall(bloNum,ball) | ^ gameblock.c:59:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | register bloNum; | ~~~~~~~~ ^ | int gameblock.c:61:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | register i; | ~~~~~~~~ ^ | int gameblock.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | void setBlockLockFlg(bloNum) | ^ gameblock.c:71:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | register bloNum,balNum; | ~~~~~~~~ ^ | int gameblock.c:71:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | register bloNum,balNum; | ~~~~~~~~ ^ | int gameblock.c:73:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | register bloTop,bloLeft,i; | ~~~~~~~~ ^ | int gameblock.c:73:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | register bloTop,bloLeft,i; | ~~~~~~~~ ^ | int gameblock.c:73:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | register bloTop,bloLeft,i; | ~~~~~~~~ ^ | int gameblock.c:96:20: warning: passing arguments to 'breakCheckBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | breakCheckBlock(i,balNum,0); | ^ gameblock.c:101:20: warning: passing arguments to 'breakCheckBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | breakCheckBlock(i,balNum,0); | ^ gameblock.c:110:8: warning: call to undeclared function 'drawOff_Pic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | drawOff_Pic(&nowDataRec.nowBlock[i].nowRect); | ^ gameblock.c:115:8: warning: call to undeclared function 'drawBack_Pic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | drawBack_Pic(&nowDataRec.nowBlock[i].nowRect); | ^ gameblock.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | void breakAroundBlocks(bloNum,balNum) | ^ gameblock.c:120:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 120 | register bloNum,balNum,where; | ~~~~~~~~ ^ | int gameblock.c:120:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 120 | register bloNum,balNum,where; | ~~~~~~~~ ^ | int gameblock.c:120:29: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 120 | register bloNum,balNum,where; | ~~~~~~~~ ^ | int gameblock.c:122:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | register bloTop,bloLeft,i; | ~~~~~~~~ ^ | int gameblock.c:122:24: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | register bloTop,bloLeft,i; | ~~~~~~~~ ^ | int gameblock.c:122:32: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | register bloTop,bloLeft,i; | ~~~~~~~~ ^ | int gameblock.c:166:23: warning: passing arguments to 'breakCheckBlock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | breakCheckBlock(i,balNum,10); | ^ gameblock.c:204:3: warning: call to undeclared function 'drawOff_Blo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | drawOff_Blo(&box,&nowDataRec.nowBlock[bloNum].nowRect, | ^ gameblock.c:210:3: warning: call to undeclared function 'drawBack_Pic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | drawBack_Pic(&box); | ^ gameblock.c:211:3: warning: call to undeclared function 'drawBack_Off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | drawBack_Off(&nowDataRec.nowBlock[bloNum].nowRect); | ^ gameblock.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | char moveBlock(bloNum,balNum,where) | ^ gameblock.c:217:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | register bloNum,balNum,score; | ~~~~~~~~ ^ | int gameblock.c:217:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | register bloNum,balNum,score; | ~~~~~~~~ ^ | int gameblock.c:217:29: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | register bloNum,balNum,score; | ~~~~~~~~ ^ | int gameblock.c:219:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | register i,bloMax; | ~~~~~~~~ ^ | int gameblock.c:219:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | register i,bloMax; | ~~~~~~~~ ^ | int gameblock.c:220:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | register temp; | ~~~~~~~~ ^ | int gameblock.c:227:3: warning: call to undeclared function 'statScoreDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | statScoreDraw(); | ^ gameblock.c:266:7: warning: call to undeclared function 'drawOff_Pic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | drawOff_Pic(&nowDataRec.nowBlock[bloNum].nowRect); | ^ gameblock.c:270:7: warning: call to undeclared function 'drawBack_Pic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | drawBack_Pic(&nowDataRec.nowBlock[bloNum].nowRect); | ^ gameblock.c:278:37: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 278 | nowDataRec.nowMap.nowFlg.saveFlg = True; | ^ ~~~~ gameblock.c:282:45: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 282 | nowDataRec.nowMap.nowFlg.clearAllMap = True; | ^ ~~~~ gameblock.c:289:7: warning: call to undeclared function 'randomItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | randomItem(bloNum); | ^ gameblock.c:295:3: warning: call to undeclared function 'drawBack_Off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | drawBack_Off(&nowDataRec.nowBlock[bloNum].nowRect); | ^ gameblock.c:298:3: warning: call to undeclared function 'drawMiniText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | drawMiniText(display,mWin, | ^ gameblock.c:216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | void breakCheckBlock(bloNum,balNum,score) | ^ gameblock.c:27:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | void breakCheckBlock(); | ^ gameblock.c:313:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:313:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 313 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:315:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | register temp_y,temp_x,tempLengh; | ~~~~~~~~ ^ | int gameblock.c:315:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | register temp_y,temp_x,tempLengh; | ~~~~~~~~ ^ | int gameblock.c:315:29: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | register temp_y,temp_x,tempLengh; | ~~~~~~~~ ^ | int gameblock.c:312:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | int checkTouch(balNum,bloNum) | ^ gameblock.c:329:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 329 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:329:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 329 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:332:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 332 | register tempLengh,x_slant,y_slant; | ~~~~~~~~ ^ | int gameblock.c:332:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 332 | register tempLengh,x_slant,y_slant; | ~~~~~~~~ ^ | int gameblock.c:332:30: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 332 | register tempLengh,x_slant,y_slant; | ~~~~~~~~ ^ | int gameblock.c:328:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | void bloGraphNumber(balNum,bloNum,x,y) | ^ gameblock.c:353:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 353 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:353:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 353 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void checkBallLoop(balNum,bloNum) | ^ gameblock.c:384:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:384:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:386:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | register temp_y,temp_x,tempLengh; | ~~~~~~~~ ^ | int gameblock.c:386:21: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | register temp_y,temp_x,tempLengh; | ~~~~~~~~ ^ | int gameblock.c:386:28: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | register temp_y,temp_x,tempLengh; | ~~~~~~~~ ^ | int gameblock.c:383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | void blockKind_0(balNum,bloNum) | ^ gameblock.c:401:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 401 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:401:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 401 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:422:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 422 | gameMainFlg.blockPatchTB_1 = True; | ^ ~~~~ gameblock.c:437:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 437 | gameMainFlg.blockPatchRL_1 = True; | ^ ~~~~ gameblock.c:451:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 451 | gameMainFlg.blockPatchTB_1 = True; | ^ ~~~~ gameblock.c:466:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 466 | gameMainFlg.blockPatchRL_1 = True; | ^ ~~~~ gameblock.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | void blockKind_1(balNum,bloNum) | ^ gameblock.c:472:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 472 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:472:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 472 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:499:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 499 | gameMainFlg.blockPatchTB_2 = True; | ^ ~~~~ gameblock.c:512:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 512 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:528:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 528 | gameMainFlg.blockPatchTB_1 = True; | ^ ~~~~ gameblock.c:541:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 541 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:471:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | void blockKind_3(balNum,bloNum) | ^ gameblock.c:546:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 546 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:546:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 546 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:548:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:548:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:548:29: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:548:39: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:548:46: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:545:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | void blockKind_4(balNum,bloNum) | ^ gameblock.c:638:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 638 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:638:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 638 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:666:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 666 | gameMainFlg.blockPatchTB_2 = True; | ^ ~~~~ gameblock.c:679:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 679 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:692:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 692 | gameMainFlg.blockPatchTB_2 = True; | ^ ~~~~ gameblock.c:705:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 705 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:637:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | int blockKind_20(balNum,bloNum) | ^ gameblock.c:711:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 711 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:711:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 711 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:713:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 713 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:713:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 713 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:713:29: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 713 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:713:39: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 713 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:713:46: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 713 | register temp_y,temp_x,tempLengh,x_axis,y_axis; | ~~~~~~~~ ^ | int gameblock.c:710:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | void blockKind_21(balNum,bloNum) | ^ gameblock.c:812:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 812 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:812:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 812 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:842:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 842 | gameMainFlg.blockPatchTB_2 = True; | ^ ~~~~ gameblock.c:857:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 857 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:872:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 872 | gameMainFlg.blockPatchTB_2 = True; | ^ ~~~~ gameblock.c:887:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 887 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:811:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | void blockKind_22(balNum,bloNum) | ^ gameblock.c:892:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 892 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:892:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 892 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:914:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 914 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:891:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | void blockKind_23(balNum,bloNum) | ^ gameblock.c:943:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 943 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:943:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 943 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:964:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 964 | gameMainFlg.blockPatchRL_2 = True; | ^ ~~~~ gameblock.c:942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | void blockKind_24(balNum,bloNum) | ^ gameblock.c:994:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 994 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:994:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 994 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:1016:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1016 | gameMainFlg.blockPatchTB_2 = True; | ^ ~~~~ gameblock.c:993:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | void blockKind_25(balNum,bloNum) | ^ gameblock.c:1043:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1043 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:1043:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1043 | register balNum,bloNum; | ~~~~~~~~ ^ | int gameblock.c:1065:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 1065 | gameMainFlg.blockPatchTB_2 = True; | ^ ~~~~ gameblock.c:1042:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | void blockKind_26(balNum,bloNum) | ^ gameblock.c:1186:4: warning: call to undeclared function 'randomItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1186 | randomItem(bloNum); | ^ 127 warnings generated. --- file.o --- file.c:29:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 29 | register i,j; | ~~~~~~~~ ^ | int file.c:29:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 29 | register i,j; | ~~~~~~~~ ^ | int file.c:38:18: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 38 | if((fp = fopen(nowDataRec.nowMap.filename,"wb"))==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ file.c:46:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 46 | strcpy(xmapHeader.hiScoreName[i],nowMapFile->hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:46:40: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 46 | strcpy(xmapHeader.hiScoreName[i],nowMapFile->hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:51:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 51 | strcpy(xmapHeader.createrName,nowMapFile->createrName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:51:33: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 51 | strcpy(xmapHeader.createrName,nowMapFile->createrName); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:52:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 52 | strcpy(xmapHeader.clearAllMapText,nowMapFile->clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:52:37: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 52 | strcpy(xmapHeader.clearAllMapText,nowMapFile->clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:81:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 81 | strcpy(xmapStages.minTimeName,nowMapFile->stageData[i].minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:81:37: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 81 | strcpy(xmapStages.minTimeName,nowMapFile->stageData[i].minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:82:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 82 | strcpy(xmapStages.startText, nowMapFile->stageData[i].startText); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:82:37: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 82 | strcpy(xmapStages.startText, nowMapFile->stageData[i].startText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:113:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | register i,j; | ~~~~~~~~ ^ | int file.c:113:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | register i,j; | ~~~~~~~~ ^ | int file.c:124:18: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 124 | if((fp = fopen(nowDataRec.nowMap.filename,"rb"))==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ file.c:135:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | strcpy(nowMapFile->hiScoreName[i],xmapHeader.hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:135:41: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | strcpy(nowMapFile->hiScoreName[i],xmapHeader.hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:139:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | strcpy(nowMapFile->createrName,xmapHeader.createrName); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:139:34: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | strcpy(nowMapFile->createrName,xmapHeader.createrName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:140:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | strcpy(nowMapFile->clearAllMapText,xmapHeader.clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:140:38: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 140 | strcpy(nowMapFile->clearAllMapText,xmapHeader.clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:148:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 148 | (xmapHeader.setFlgs &0x01)?(gameMainFlg.useWinOut=True):(gameMainFlg.useWinOut=False); | ^~~~~ file.c:149:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 149 | (xmapHeader.setFlgs &0x04)?(gameMainFlg.useEffect=True):(gameMainFlg.useEffect=False); | ^~~~~ file.c:150:50: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 150 | (xmapHeader.setFlgs &0x08)?(gameMainFlg.hidePen=True) :(gameMainFlg.hidePen=False); | ^~~~~ file.c:166:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | strcpy(nowMapFile->stageData[i].minTimeName,xmapStages.minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:166:51: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 166 | strcpy(nowMapFile->stageData[i].minTimeName,xmapStages.minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:167:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | strcpy(nowMapFile->stageData[i].startText,xmapStages.startText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:167:49: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 167 | strcpy(nowMapFile->stageData[i].startText,xmapStages.startText); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:190:23: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 190 | gameMainFlg.openMap = True; | ^ ~~~~ file.c:221:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 221 | else | ^ file.c:195:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | void ftake_str(fp,txt) | ^ file.c:230:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | register i,j; | ~~~~~~~~ ^ | int file.c:230:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | register i,j; | ~~~~~~~~ ^ | int file.c:238:18: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 238 | if((fp = fopen(nowDataRec.nowMap.filename,"r"))==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ file.c:246:16: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 246 | txt = strstr(nowDataRec.nowMap.filename,".txt"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ file.c:251:20: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 251 | ftake_str(fp,xmapHeader.hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ file.c:252:23: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 252 | fscanf(fp,"%ld",&temp[0]); | ~~~ ^~~~~~~~ | %d file.c:254:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | strcpy(nowMapFile->hiScoreName[i],xmapHeader.hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:254:41: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 254 | strcpy(nowMapFile->hiScoreName[i],xmapHeader.hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:257:16: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | ftake_str(fp,xmapHeader.createrName); | ^~~~~~~~~~~~~~~~~~~~~~ file.c:258:16: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 258 | ftake_str(fp,xmapHeader.clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:260:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | strcpy(nowMapFile->createrName,xmapHeader.createrName); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:260:34: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 260 | strcpy(nowMapFile->createrName,xmapHeader.createrName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:261:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | strcpy(nowMapFile->clearAllMapText,xmapHeader.clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:261:38: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 261 | strcpy(nowMapFile->clearAllMapText,xmapHeader.clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:263:63: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 263 | fscanf(fp,"%d %d %d %ld %ld %d ",&temp[0],&temp[1],&temp[2],&temp[3], | ~~~ ^~~~~~~~ | %d file.c:264:3: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 263 | fscanf(fp,"%d %d %d %ld %ld %d ",&temp[0],&temp[1],&temp[2],&temp[3], | ~~~ | %d 264 | &temp[4],&temp[5]); | ^~~~~~~~ file.c:273:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 273 | (xmapHeader.setFlgs &0x01)?(gameMainFlg.useWinOut=True):(gameMainFlg.useWinOut=False); | ^~~~~ file.c:274:52: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 274 | (xmapHeader.setFlgs &0x04)?(gameMainFlg.useEffect=True):(gameMainFlg.useEffect=False); | ^~~~~ file.c:275:50: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 275 | (xmapHeader.setFlgs &0x08)?(gameMainFlg.hidePen=True) :(gameMainFlg.hidePen=False); | ^~~~~ file.c:280:52: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 279 | fscanf(fp,"%d %d %d %d %d %d %d %d %ld ",&temp[0],&temp[1],&temp[2], | ~~~ | %d 280 | &temp[3],&temp[4],&temp[5],&temp[6],&temp[7],&temp[8]); | ^~~~~~~~ file.c:292:20: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 292 | ftake_str(fp,xmapStages.minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~ file.c:293:20: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 293 | ftake_str(fp,xmapStages.startText); | ^~~~~~~~~~~~~~~~~~~~ file.c:295:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | strcpy(nowMapFile->stageData[i].minTimeName,xmapStages.minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:295:51: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | strcpy(nowMapFile->stageData[i].minTimeName,xmapStages.minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:296:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 296 | strcpy(nowMapFile->stageData[i].startText,xmapStages.startText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:296:49: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 296 | strcpy(nowMapFile->stageData[i].startText,xmapStages.startText); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:317:23: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 317 | gameMainFlg.openMap = True; | ^ ~~~~ file.c:331:9: warning: call to undeclared function 'selectFileDLG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | if(!selectFileDLG()) | ^ file.c:340:13: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 340 | if(strstr(nowDataRec.nowMap.filename,".mapf")==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ file.c:342:18: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 342 | else if(strstr(nowDataRec.nowMap.filename,".txt")==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ file.c:321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | int loadMapData(useGetFile) | ^ file.c:352:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 352 | register i,j; | ~~~~~~~~ ^ | int file.c:352:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 352 | register i,j; | ~~~~~~~~ ^ | int file.c:357:10: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 357 | strcat(nowDataRec.nowMap.filename,".txt"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:79:31: note: passing argument to parameter here 79 | char *strcat(char * __restrict, const char * __restrict); | ^ file.c:359:18: warning: passing 'str255' (aka 'unsigned char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 359 | if((fp = fopen(nowDataRec.nowMap.filename,"w"))==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:258:36: note: passing argument to parameter here 258 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ file.c:367:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | strcpy(xmapHeader.hiScoreName[i],nowMapFile->hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:367:40: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 367 | strcpy(xmapHeader.hiScoreName[i],nowMapFile->hiScoreName[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:375:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 375 | strcpy(xmapHeader.createrName,nowMapFile->createrName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:375:33: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 375 | strcpy(xmapHeader.createrName,nowMapFile->createrName); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:376:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 376 | strcpy(xmapHeader.clearAllMapText,nowMapFile->clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:376:37: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 376 | strcpy(xmapHeader.clearAllMapText,nowMapFile->clearAllMapText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:394:47: warning: format specifies type 'long' but the argument has type 'char' [-Wformat] 393 | fprintf(fp,"%d %d %d %ld %ld %d \n",xmapHeader.clearAllMapPicID, | ~~~ | %hhd 394 | xmapHeader.allMapNumber,xmapHeader.ballAdd,xmapHeader.timeCount, | ^~~~~~~~~~~~~~~~~~~~ file.c:395:4: warning: format specifies type 'long' but the argument has type 'char' [-Wformat] 393 | fprintf(fp,"%d %d %d %ld %ld %d \n",xmapHeader.clearAllMapPicID, | ~~~ | %hhd 394 | xmapHeader.allMapNumber,xmapHeader.ballAdd,xmapHeader.timeCount, 395 | xmapHeader.cpuWait,xmapHeader.setFlgs); | ^~~~~~~~~~~~~~~~~~ file.c:416:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 416 | strcpy(xmapStages.minTimeName,nowMapFile->stageData[i].minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:416:37: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 416 | strcpy(xmapStages.minTimeName,nowMapFile->stageData[i].minTimeName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:417:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 417 | strcpy(xmapStages.startText, nowMapFile->stageData[i].startText); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:417:37: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 417 | strcpy(xmapStages.startText, nowMapFile->stageData[i].startText); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:443:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 443 | register i,j; | ~~~~~~~~ ^ | int file.c:443:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 443 | register i,j; | ~~~~~~~~ ^ | int file.c:449:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 449 | strcpy(nowMapFile->hiScoreName[i],"pochi"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:464:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 464 | strcpy(nowMapFile->stageData[j].startText,"let's play :-)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:468:4: warning: call to undeclared function 'setRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 468 | setRect(&nowMapFile->stageData[j].blockData[i].nowRect, | ^ file.c:487:57: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 487 | nowMapFile->stageData[j].blockData[i].nowFlg.life = True; | ^ ~~~~ file.c:488:57: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 488 | nowMapFile->stageData[j].blockData[i+13].nowFlg.life = True; | ^ ~~~~ file.c:489:57: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 489 | nowMapFile->stageData[j].blockData[i+26].nowFlg.life = True; | ^ ~~~~ file.c:503:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 503 | strcpy(nowMapFile->clearAllMapText,"you are great !!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:504:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 504 | strcpy(nowMapFile->createrName,"oku"); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:511:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 511 | register j; | ~~~~~~~~ ^ | int file.c:513:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 513 | register i; | ~~~~~~~~ ^ | int file.c:523:10: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 523 | strcpy(nowMapFile->stageData[j].startText,"Let's play XDeBlock !!"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:527:7: warning: call to undeclared function 'setRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | setRect(&nowMapFile->stageData[j].blockData[i].nowRect, | ^ file.c:536:35: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 536 | nowDataRec.nowMap.nowFlg.upData = True; | ^ ~~~~ file.c:510:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | void initStageData(j) | ^ file.c:541:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 541 | register i,j,num; | ~~~~~~~~ ^ | int file.c:541:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 541 | register i,j,num; | ~~~~~~~~ ^ | int file.c:541:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 541 | register i,j,num; | ~~~~~~~~ ^ | int file.c:555:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 555 | register i; | ~~~~~~~~ ^ | int file.c:559:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 559 | strcpy(nowMapFile->hiScoreName[i],"pochi"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ file.c:567:14: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 567 | strcpy(nowMapFile->stageData[i].minTimeName,"pochi"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ 101 warnings generated. --- gamemain.o --- gamemain.c:27:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | register i,j,tempScore; | ~~~~~~~~ ^ | int gamemain.c:27:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | register i,j,tempScore; | ~~~~~~~~ ^ | int gamemain.c:27:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | register i,j,tempScore; | ~~~~~~~~ ^ | int gamemain.c:38:15: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 38 | strcpy(nowMapFile->hiScoreName[j+1],nowMapFile->hiScoreName[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gamemain.c:38:44: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 38 | strcpy(nowMapFile->hiScoreName[j+1],nowMapFile->hiScoreName[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gamemain.c:48:11: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 48 | strcpy(nowMapFile->hiScoreName[i],nowDataRec.nowMap.playerName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gamemain.c:48:38: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 48 | strcpy(nowMapFile->hiScoreName[i],nowDataRec.nowMap.playerName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gamemain.c:49:36: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 49 | nowDataRec.nowMap.nowFlg.upData = True; | ^ ~~~~ gamemain.c:57:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | register i; | ~~~~~~~~ ^ | int gamemain.c:66:3: warning: call to undeclared function 'hiScoreDLG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | hiScoreDLG(); | ^ gamemain.c:69:5: warning: call to undeclared function 'fileUpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | fileUpData(); | ^ gamemain.c:80:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | register hig,wid,i; | ~~~~~~~~ ^ | int gamemain.c:80:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | register hig,wid,i; | ~~~~~~~~ ^ | int gamemain.c:80:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 80 | register hig,wid,i; | ~~~~~~~~ ^ | int gamemain.c:100:3: warning: call to undeclared function 'drawUpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | drawUpData(); | ^ gamemain.c:101:3: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | drawShadowText(display,mWin,200,250, | ^ gamemain.c:110:6: warning: call to undeclared function 'ptInRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | if(ptInRect(&nowDataRec.nowBar.nowRect,event->x,event->y)) | ^ gamemain.c:120:7: warning: call to undeclared function 'drawUpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | drawUpData(); | ^ gamemain.c:121:7: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | drawBar(); | ^ gamemain.c:107:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | void handlePauseMouse(event) | ^ gamemain.c:136:7: warning: call to undeclared function 'drawUpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | drawUpData(); | ^ gamemain.c:137:7: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | drawBar(); | ^ gamemain.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void handlePauseKey(event) | ^ gamemain.c:166:3: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | drawBar(); | ^ gamemain.c:167:24: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 167 | gameMainFlg.pauseFlg = True; | ^ ~~~~ gamemain.c:184:8: warning: call to undeclared function 'reDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | reDraw(&event); | ^ gamemain.c:193:25: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 193 | handlePauseMouse(&event); | ^~~~~~ gamemain.c:200:23: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 200 | handlePauseKey(&event); | ^~~~~~ gamemain.c:213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | void handleGameKey(event) | ^ gamemain.c:244:7: warning: call to undeclared function 'serveBall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | serveBall(); | ^ gamemain.c:248:7: warning: call to undeclared function 'drawUpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | drawUpData(); | ^ gamemain.c:238:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | void handleGameMouseDown(event) | ^ gamemain.c:258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | void takeMousePoint(event) | ^ gamemain.c:303:4: warning: call to undeclared function 'reDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | reDraw(&event); | ^ gamemain.c:304:4: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | drawBar(); | ^ gamemain.c:306:4: warning: call to undeclared function 'statScoreDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | statScoreDraw(); | ^ gamemain.c:307:4: warning: call to undeclared function 'statBallDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | statBallDraw(); | ^ gamemain.c:308:4: warning: call to undeclared function 'statStageDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | statStageDraw(); | ^ gamemain.c:309:4: warning: call to undeclared function 'statTimeDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | statTimeDraw(); | ^ gamemain.c:330:18: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] 330 | handleGameKey(&event); | ^~~~~~ gamemain.c:343:24: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types] 343 | handleGameMouseDown(&event); | ^~~~~~ gamemain.c:351:19: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XPointerMovedEvent *' (aka 'XMotionEvent *') [-Wincompatible-pointer-types] 351 | takeMousePoint(&event); | ^~~~~~ gamemain.c:371:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | register i,j,flg; | ~~~~~~~~ ^ | int gamemain.c:371:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | register i,j,flg; | ~~~~~~~~ ^ | int gamemain.c:371:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | register i,j,flg; | ~~~~~~~~ ^ | int gamemain.c:385:4: warning: call to undeclared function 'serveBall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | serveBall(); | ^ gamemain.c:449:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 449 | nowDataRec.nowBar.nowFlg.reDraw = True; | ^ ~~~~ gamemain.c:455:7: warning: call to undeclared function 'serveBall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | serveBall(); | ^ gamemain.c:456:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 456 | nowDataRec.nowBar.nowFlg.reDraw = True; | ^ ~~~~ gamemain.c:465:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 465 | nowDataRec.nowBar.nowFlg.reDraw = True; | ^ ~~~~ gamemain.c:472:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 472 | nowDataRec.nowBar.nowFlg.reDraw = True; | ^ ~~~~ gamemain.c:520:2: warning: call to undeclared function 'drawBar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | drawBar(); | ^ gamemain.c:524:7: warning: call to undeclared function 'moveAndCheckBall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | moveAndCheckBall(); | ^ gamemain.c:528:7: warning: call to undeclared function 'touchBallCheckBlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 528 | touchBallCheckBlock(); | ^ gamemain.c:533:7: warning: call to undeclared function 'moveAndCheckItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | moveAndCheckItem(); | ^ gamemain.c:542:4: warning: call to undeclared function 'statTimeDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 542 | statTimeDraw(); | ^ gamemain.c:547:7: warning: call to undeclared function 'gameSleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 547 | gameSleep(display,nowDataRec.nowMap.gameSpeed); | ^ gamemain.c:553:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 553 | register stg; | ~~~~~~~~ ^ | int gamemain.c:555:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 555 | register i; | ~~~~~~~~ ^ | int gamemain.c:567:47: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 567 | nowDataRec.nowBlock[i].nowFlg.life = True; | ^ ~~~~ gamemain.c:568:47: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 568 | nowDataRec.nowBlock[i].nowFlg.reDraw = True; | ^ ~~~~ gamemain.c:569:47: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 569 | nowDataRec.nowBlock[i].nowFlg.blockLock = True; | ^ ~~~~ gamemain.c:552:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | void copyStageData(stg) | ^ gamemain.c:575:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 575 | register i; | ~~~~~~~~ ^ | int gamemain.c:593:38: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 593 | nowDataRec.nowMap.nowFlg.life = True; /** now map play flg **/ | ^ ~~~~ gamemain.c:631:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 631 | register i,num; | ~~~~~~~~ ^ | int gamemain.c:631:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 631 | register i,num; | ~~~~~~~~ ^ | int gamemain.c:645:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 645 | register i,iNum; | ~~~~~~~~ ^ | int gamemain.c:645:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 645 | register i,iNum; | ~~~~~~~~ ^ | int gamemain.c:654:2: warning: call to undeclared function 'disposeItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 654 | disposeItem(iNum,i); | ^ gamemain.c:661:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 661 | register i,iNum; | ~~~~~~~~ ^ | int gamemain.c:661:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 661 | register i,iNum; | ~~~~~~~~ ^ | int gamemain.c:665:40: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 665 | nowDataRec.nowMap.nowFlg.gameOverFlg = True; | ^ ~~~~ gamemain.c:685:41: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 685 | nowDataRec.nowMap.nowFlg.life = True; | ^ ~~~~ gamemain.c:689:35: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 689 | nowDataRec.nowMap.nowFlg.reDraw = True; /** use opening Picture **/ | ^ ~~~~ gamemain.c:703:2: warning: call to undeclared function 'disposeItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 703 | disposeItem(iNum,i); | ^ gamemain.c:721:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 721 | register i,j,k,saveBall,countBall; | ~~~~~~~~ ^ | int gamemain.c:721:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 721 | register i,j,k,saveBall,countBall; | ~~~~~~~~ ^ | int gamemain.c:721:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 721 | register i,j,k,saveBall,countBall; | ~~~~~~~~ ^ | int gamemain.c:721:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 721 | register i,j,k,saveBall,countBall; | ~~~~~~~~ ^ | int gamemain.c:721:27: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 721 | register i,j,k,saveBall,countBall; | ~~~~~~~~ ^ | int gamemain.c:728:7: warning: call to undeclared function 'drawBack_Off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 728 | drawBack_Off(&nowDataRec.nowBall[j].nowRect); | ^ gamemain.c:729:7: warning: call to undeclared function 'statScoreDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 729 | statScoreDraw(); | ^ gamemain.c:731:7: warning: call to undeclared function 'gameSleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 731 | gameSleep(display,2500); | ^ gamemain.c:744:7: warning: call to undeclared function 'statBallDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 744 | statBallDraw(); | ^ gamemain.c:745:7: warning: call to undeclared function 'statScoreDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 745 | statScoreDraw(); | ^ gamemain.c:747:7: warning: call to undeclared function 'gameSleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | gameSleep(display,4000); | ^ gamemain.c:757:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 757 | register i,num; | ~~~~~~~~ ^ | int gamemain.c:757:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 757 | register i,num; | ~~~~~~~~ ^ | int gamemain.c:767:14: warning: call to undeclared function 'time2long'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 767 | time = time2long(&nowDataRec.nowMap.nowTime); | ^ gamemain.c:773:11: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 773 | strcpy(nowMapFile->stageData[num].minTimeName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:31: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gamemain.c:774:4: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 774 | nowDataRec.nowMap.playerName); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:56: note: passing argument to parameter here 87 | char *strcpy(char * __restrict, const char * __restrict); | ^ gamemain.c:775:36: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 775 | nowDataRec.nowMap.nowFlg.upData = True; | ^ ~~~~ gamemain.c:779:4: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 779 | drawShadowText(display,mWin,135,300, | ^ gamemain.c:796:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 796 | register tempNum,_maps,i,x; | ~~~~~~~~ ^ | int gamemain.c:796:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 796 | register tempNum,_maps,i,x; | ~~~~~~~~ ^ | int gamemain.c:796:26: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 796 | register tempNum,_maps,i,x; | ~~~~~~~~ ^ | int gamemain.c:796:28: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 796 | register tempNum,_maps,i,x; | ~~~~~~~~ ^ | int gamemain.c:805:7: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 805 | drawShadowText(display,mWin,120,300, | ^ gamemain.c:813:7: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 813 | drawShadowText(display,mWin,x,300, | ^ gamemain.c:817:16: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 817 | strlen(nowMapFile->stageData[_maps].minTimeName)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ gamemain.c:816:29: warning: passing 'str32' (aka 'unsigned char[33]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 816 | x += XTextWidth(xfont,nowMapFile->stageData[_maps].minTimeName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:3446:31: note: passing argument to parameter here 3446 | _Xconst char* /* string */, | ^ gamemain.c:822:7: warning: call to undeclared function 'long2time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 822 | long2time(nowMapFile->stageData[_maps].minTime,&time); | ^ gamemain.c:825:25: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 825 | sprintf(text,"%d",time.tv_sec); | ~~ ^~~~~~~~~~~ | %ld gamemain.c:833:25: warning: format specifies type 'int' but the argument has type 'suseconds_t' (aka 'long') [-Wformat] 833 | sprintf(text,"%d",time.tv_usec/1000); | ~~ ^~~~~~~~~~~~~~~~~ | %ld gamemain.c:843:3: warning: call to undeclared function 'drawShadowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 843 | drawShadowText(display,mWin,120,500, | ^ gamemain.c:847:27: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 847 | gameMainFlg.clearString = True; | ^ ~~~~ gamemain.c:855:9: warning: call to undeclared function 'loadMapData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | if(!loadMapData(True)) | ^ gamemain.c:859:5: warning: call to undeclared function 'nameInputDLG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 859 | nameInputDLG(); | ^ gamemain.c:868:7: warning: call to undeclared function 'backPicSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 868 | backPicSet(); | ^ gamemain.c:872:7: warning: call to undeclared function 'statStageDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 872 | statStageDraw(); | ^ gamemain.c:873:7: warning: call to undeclared function 'statBallDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 873 | statBallDraw(); | ^ gamemain.c:874:7: warning: call to undeclared function 'statScoreDraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 874 | statScoreDraw(); | ^ 113 warnings generated. --- xdeblo --- cc main.o misc.o file.o dialog.o gamemain.o gameball.o gameblock.o gamedraw.o gameitems.o gamestat.o -o xdeblo -lX11 -L/usr/local/lib -lXpm -lXext -lX11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xdeblock-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xdeblock-1.0_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/xdeblock/work/xdeblo_v1.0/xdeblo /wrkdirs/usr/ports/games/xdeblock/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/xdeblock/work/xdeblo_v1.0/mapf/*.txt /wrkdirs/usr/ports/games/xdeblock/work/stage/usr/local/lib/X11/xdeblock/mapf ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-22T12:21:53+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for xdeblock-1.0_3 ===> Building xdeblock-1.0_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xdeblock-1.0_3 build of games/xdeblock | xdeblock-1.0_3 ended at Thu Jan 22 07:22:00 EST 2026 build time: 00:00:08