=>> Building games/xtruco build started at Tue Mar 17 02:33:15 EDT 2026 port directory: /usr/ports/games/xtruco package name: xtruco-1.0_2 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 373 Aug 27 2024 /usr/ports/games/xtruco/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: d56127bdfc7d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 10 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_15_0_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_15_0_x64-HEAD-ALL/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_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-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/xtruco/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xtruco/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xtruco/work/.cache HOME=/wrkdirs/usr/ports/games/xtruco/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xtruco/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xtruco/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/xtruco/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xtruco/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xtruco/work/.cache HOME=/wrkdirs/usr/ports/games/xtruco/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xtruco/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xtruco/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xtruco" EXAMPLESDIR="share/examples/xtruco" DATADIR="share/xtruco" WWWDIR="www/xtruco" ETCDIR="etc/xtruco" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xtruco DOCSDIR=/usr/local/share/doc/xtruco EXAMPLESDIR=/usr/local/share/examples/xtruco WWWDIR=/usr/local/www/xtruco ETCDIR=/usr/local/etc/xtruco --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 xtruco 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 ===> xtruco-1.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> xtruco-1.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xtruco-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xtruco 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 xtruco-1.0_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xtruco 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 xtruco-1.0_2 for building => SHA256 Checksum OK for xtruco.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xtruco 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 xtruco-1.0_2 for building ===> Extracting for xtruco-1.0_2 => SHA256 Checksum OK for xtruco.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xtruco-1.0_2 ===> Applying FreeBSD patches for xtruco-1.0_2 from /usr/ports/games/xtruco/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xtruco-1.0_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.13,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.13,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.13,1: .......... done ===> xtruco-1.0_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xtruco-1.0_2 ===> xtruco-1.0_2 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. ===> xtruco-1.0_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xtruco-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xtruco-1.0_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xtruco-1.0_2 --- xtruco.o --- --- bitmap.o --- --- cursor.o --- --- display.o --- --- event.o --- --- gc.o --- --- pixmap.o --- --- topwind.o --- --- window.o --- --- color.o --- --- button.o --- --- font.o --- --- read.o --- --- display.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c display.c -o display.o display.c:22:2: warning: call to undeclared function 'CheckDisplayName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | CheckDisplayName( argc, argv, display_name ); | ^ display.c:23:23: warning: passing arguments to 'OpenDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | display = OpenDisplay( display_name, screen ); | ^ display.c:28:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | exit( 1 ); | ^ display.c:28:3: note: include the header or explicitly provide a declaration for 'exit' display.c:14:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | Display *SetUpDisplay( argc, argv, screen ) | ^ In file included from display.c:12: ./xbook.h:40:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | Display *SetUpDisplay(); | ^ display.c:33:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | Display *OpenDisplay( display_name, screen ) | ^ In file included from display.c:12: ./xbook.h:41:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | Display *OpenDisplay(); | ^ display.c:47:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | CheckDisplayName( argc, argv, display_name ) | ^ | int display.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] display.c:73:1: warning: non-void function does not return a value [-Wreturn-type] 73 | } | ^ display.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | CloseDisplay( display, window, gc ) | ^ | int display.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] display.c:85:1: warning: non-void function does not return a value [-Wreturn-type] 85 | } | ^ display.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | QuitX( display, error_message, error_file ) | ^ | int display.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 warnings generated. --- cursor.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c cursor.c -o cursor.o cursor.c:6:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | Cursor MakeCursor( display, window, which_cursor ) | ^ In file included from cursor.c:4: ./xbook.h:38:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | Cursor MakeCursor(); | ^ 2 warnings generated. --- bitmap.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c bitmap.c -o bitmap.o bitmap.c:21:12: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 21 | width, height, | ^~~~~ /usr/local/include/X11/Xlib.h:3045:37: note: passing argument to parameter here 3045 | unsigned int* /* width_return */, | ^ bitmap.c:21:19: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 21 | width, height, | ^~~~~~ /usr/local/include/X11/Xlib.h:3046:38: note: passing argument to parameter here 3046 | unsigned int* /* height_return */, | ^ bitmap.c:26:9: warning: call to undeclared function 'QuitX'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | QuitX( display, "Nao pode ler bitmap ", filename ); | ^ bitmap.c:9:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | Pixmap LoadBitmap( display, window, filename, width, height ) | ^ In file included from bitmap.c:7: ./xbook.h:48:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | Pixmap LoadBitmap(); | ^ 5 warnings generated. --- xtruco.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c xtruco.c -o xtruco.o --- button.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c button.c -o button.o --- font.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c font.c -o font.o --- read.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c read.c -o read.o --- event.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c event.c -o event.o event.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | CheckEvent( display, want_exposes, width, height, event, keysym ) | ^ | int event.c:22:12: warning: call to undeclared function 'ParseEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | status = ParseEvent( event, | ^ event.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | CheckEvent( display, want_exposes, width, height, event, keysym ) | ^ event.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- gc.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c gc.c -o gc.o gc.c:22:3: warning: call to undeclared function 'QuitX'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | QuitX( display, | ^ gc.c:7:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | GC MakeGC( display, drawable, fore, back ) | ^ In file included from gc.c:5: ./xbook.h:43:4: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | GC MakeGC(); | ^ gc.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | SetGC( display, gc, fore, back ) | ^ --- pixmap.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c pixmap.c -o pixmap.o --- topwind.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c topwind.c -o topwind.o --- window.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c window.c -o window.o --- color.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -c color.c -o color.o --- gc.o --- | int gc.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gc.c:35:1: warning: non-void function does not return a value [-Wreturn-type] 35 | } | ^ 6 warnings generated. --- event.o --- 30 | NextEvent( display, want_exposes, width, height, event, keysym ) | ^ | int event.c:43:12: warning: call to undeclared function 'ParseEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | status = ParseEvent( event, | ^ event.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | NextEvent( display, want_exposes, width, height, event, keysym ) | ^ event.c:48:1: warning: non-void function does not return a value [-Wreturn-type] 48 | } | ^ event.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | ParseEvent( event, want_exposes, width, height, keysym ) | ^ | int event.c:104:24: warning: passing arguments to 'Key2Keysym' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | *keysym = Key2Keysym( event ); | ^ event.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ParseEvent( event, want_exposes, width, height, keysym ) | ^ event.c:113:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | KeySym Key2Keysym( keyevent ) | ^ In file included from event.c:5: ./xbook.h:45:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | KeySym Key2Keysym(); | ^ 12 warnings generated. --- topwind.o --- topwind.c:28:23: warning: passing arguments to 'CreateWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | window = CreateWindow( display, | ^ topwind.c:34:14: warning: passing arguments to 'MakeGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | *gc = MakeGC( display, window, black, white ); | ^ topwind.c:38:21: warning: passing arguments to 'MakeCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | cursor = MakeCursor( display, window, DEFAULT_CURSOR ); | ^ topwind.c:7:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | Window TopWindow( display, x, y, width, height, | ^ In file included from topwind.c:5: ./xbook.h:68:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | Window TopWindow(); | ^ 5 warnings generated. --- event.o --- --- xtruco.o --- xtruco.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | main( argc, argv ) | ^ | int xtruco.c:110:39: warning: assigning to 'unsigned char *' from 'char[980]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 110 | CarBit[39]= card40_bits;CarBit[40]= card41_bits;CarBit[41]= card42_bits; | ^ ~~~~~~~~~~~ xtruco.c:110:63: warning: assigning to 'unsigned char *' from 'char[980]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 110 | CarBit[39]= card40_bits;CarBit[40]= card41_bits;CarBit[41]= card42_bits; | ^ ~~~~~~~~~~~ xtruco.c:116:29: warning: passing arguments to 'SetUpDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | display = SetUpDisplay( argc, argv, &screen ); | ^ xtruco.c:121:20: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | blue = GetColor( display, "gray", colormap, white ); | ^ xtruco.c:122:21: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | green = GetColor( display, "darkgreen", colormap, 2L ); | ^ xtruco.c:123:19: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | red = GetColor( display, "red", colormap, white ); | ^ xtruco.c:124:20: warning: passing arguments to 'GetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | navy = GetColor( display, "darkblue", colormap, black ); | ^ xtruco.c:141:26: warning: passing arguments to 'CreatePixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | pixmap = CreatePixmap( display, rootwindow, width, | ^ xtruco.c:145:5: warning: call to undeclared function 'CheckGeometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | CheckGeometry( argc, argv, DisplayWidth( display, screen ), | ^ xtruco.c:148:25: warning: passing arguments to 'TopWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | window = TopWindow( display, x, y, width, height, | ^ xtruco.c:151:21: warning: passing arguments to 'LoadFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | font = LoadFont( display, gc, argc, argv, "variable" ); | ^ xtruco.c:153:5: warning: call to undeclared function 'SetNormalHints'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | SetNormalHints( display, window, x, y, width, height ); | ^ xtruco.c:154:5: warning: call to undeclared function 'SetWMHints'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | SetWMHints( display, window, icon ); | ^ xtruco.c:155:5: warning: call to undeclared function 'NameWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | NameWindow( display, window, "Super Truco", "Super Truco", "Super Truco" ); | ^ xtruco.c:156:5: warning: call to undeclared function 'MakeButtons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | MakeButtons( display, window, gc, white, navy, font->fid ); | ^ xtruco.c:157:5: warning: call to undeclared function 'MapWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | MapWindow( display, window ); | ^ xtruco.c:158:12: warning: call to undeclared function 'EventLoop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | while( EventLoop( display, window, pixmap, gc, | ^ xtruco.c:162:5: warning: call to undeclared function 'CloseDisplay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | CloseDisplay( display, window, gc ); | ^ xtruco.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | main( argc, argv ) | ^ xtruco.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | Draw_Cards(display, rootwindow, pixmap, pixgc, card, posx, posy ) | ^ | int xtruco.c:177:3: warning: passing 'unsigned char *' 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] 177 | CarBit[card], CARD_WIDTH, CARD_HEIGHT ); | ^~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ xtruco.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | Draw_Cards(display, rootwindow, pixmap, pixgc, card, posx, posy ) | ^ xtruco.c:191:1: warning: non-void function does not return a value [-Wreturn-type] 191 | } | ^ xtruco.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 193 | First_Openning(display, rootwindow, pixmap, pixgc, type ) | ^ | int xtruco.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:219:1: warning: non-void function does not return a value [-Wreturn-type] 219 | } | ^ xtruco.c:221:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | DrawPartCards(display, rootwindow, pixmap, pixgc, card, posx, posy, width ) | ^ | int xtruco.c:229:3: warning: passing 'unsigned char *' 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] 229 | CarBit[card], CARD_WIDTH, CARD_HEIGHT ); | ^~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ xtruco.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | DrawPartCards(display, rootwindow, pixmap, pixgc, card, posx, posy, width ) | ^ xtruco.c:243:1: warning: non-void function does not return a value [-Wreturn-type] 243 | } | ^ xtruco.c:245:53: warning: parameter 'posy' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | ClearCard(display, rootwindow, pixmap, pixgc, posx, posy, width ) | ^ 246 | Display *display; 247 | Window rootwindow; 248 | Pixmap pixmap; 249 | GC pixgc; 250 | int width; 251 | { xtruco.c:245:47: warning: parameter 'posx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | ClearCard(display, rootwindow, pixmap, pixgc, posx, posy, width ) | ^ 246 | Display *display; 247 | Window rootwindow; 248 | Pixmap pixmap; 249 | GC pixgc; 250 | int width; 251 | { xtruco.c:245:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | ClearCard(display, rootwindow, pixmap, pixgc, posx, posy, width ) | ^ | int xtruco.c:253:3: warning: passing 'unsigned char *' 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] 253 | CarBit[0], CARD_WIDTH, CARD_HEIGHT ); | ^~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ xtruco.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | ClearCard(display, rootwindow, pixmap, pixgc, posx, posy, width ) | ^ xtruco.c:265:1: warning: non-void function does not return a value [-Wreturn-type] 265 | } | ^ xtruco.c:267:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 267 | EventLoop( display, window, pixmap, gc, width, height ) | ^ | int xtruco.c:282:17: warning: call to undeclared function 'CheckEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | if((status= CheckEvent( display, True, *width, *height, | ^ xtruco.c:286:10: warning: call to undeclared function 'ButtonEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | if( ButtonEvent( display, &event ) == True ) | ^ xtruco.c:291:15: warning: call to undeclared function 'InvEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | else if( InvEvent( display, &event ) == True ) | ^ xtruco.c:305:3: warning: call to undeclared function 'TalkMachine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | TalkMachine( display, window, gc, Messa, 0 ); | ^ xtruco.c:307:4: warning: call to undeclared function 'Cuting'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | Cuting(display, window, pixmap, gc, BACK, 480 ); | ^ xtruco.c:310:7: warning: call to undeclared function 'DrawScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | DrawScore( display, window, pixmap, gc, blue, | ^ xtruco.c:315:3: warning: call to undeclared function 'TableCards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | TableCards( display, window, pixmap, gc, BACK ); | ^ xtruco.c:318:3: warning: call to undeclared function 'ShowCards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | ShowCards(display, window, pixmap, gc, BACK ); | ^ xtruco.c:390:15: warning: call to undeclared function 'FirstGame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | You_Play= FirstGame(); | ^ xtruco.c:393:15: warning: call to undeclared function 'SecondGame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | You_Play= SecondGame(); | ^ xtruco.c:396:15: warning: call to undeclared function 'ThirdGame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | You_Play= ThirdGame(); | ^ xtruco.c:406:14: warning: call to undeclared function 'CanSayTruco'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | resulters=CanSayTruco(position, you); | ^ xtruco.c:478:13: warning: call to undeclared function 'AcceptTruco'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | resulters=AcceptTruco(pc); | ^ xtruco.c:582:10: warning: call to undeclared function 'DrawScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | DrawScore( display, window, pixmap, gc, blue, | ^ xtruco.c:587:6: warning: call to undeclared function 'TalkMachine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 587 | TalkMachine( display, window, gc, Messa, 0 ); | ^ xtruco.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | EventLoop( display, window, pixmap, gc, width, height ) | ^ xtruco.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | Refresh( display, window, gc, pixmap, x, y, width, height ) | ^ xtruco.c:640:59: warning: parameter 'v' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | MakeButtons( display, window, gc, fore, back, font_id, h, v ) | ^ 641 | Display *display; 642 | Window window; 643 | GC gc; 644 | unsigned long fore, back; 645 | Font font_id; 646 | { xtruco.c:640:56: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | MakeButtons( display, window, gc, fore, back, font_id, h, v ) | ^ 641 | Display *display; 642 | Window window; 643 | GC gc; 644 | unsigned long fore, back; 645 | Font font_id; 646 | { xtruco.c:640:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 640 | MakeButtons( display, window, gc, fore, back, font_id, h, v ) | ^ | int xtruco.c:661:2: warning: call to undeclared function 'InvButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 661 | InvButton( display, window, pos1, pos2, x, CARD_HEIGHT, Button_Cut ); | ^ xtruco.c:664:2: warning: call to undeclared function 'CreateButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 664 | CreateButton( display, window, x, y, fore, back, | ^ xtruco.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | MakeButtons( display, window, gc, fore, back, font_id, h, v ) | ^ xtruco.c:684:1: warning: non-void function does not return a value [-Wreturn-type] 684 | } | ^ xtruco.c:686:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 686 | Button_Truco(display, window) | ^ | int xtruco.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:694:1: warning: non-void function does not return a value [-Wreturn-type] 694 | } | ^ xtruco.c:696:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 696 | Button_Yes(display, window) | ^ | int xtruco.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:703:1: warning: non-void function does not return a value [-Wreturn-type] 703 | } | ^ xtruco.c:705:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 705 | Button_No(display, window) | ^ | int xtruco.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:714:1: warning: non-void function does not return a value [-Wreturn-type] 714 | } | ^ xtruco.c:716:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 716 | Button_New( display, window ) | ^ | int xtruco.c:721:12: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 721 | Begining= RANDOM(2)+1; | ^ xtruco.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | Button_New( display, window ) | ^ xtruco.c:726:1: warning: non-void function does not return a value [-Wreturn-type] 726 | } | ^ xtruco.c:728:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 728 | QuitApplication( display, window ) | ^ | int xtruco.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:739:1: warning: non-void function does not return a value [-Wreturn-type] 739 | } | ^ xtruco.c:741:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 741 | card1( display, window, type ) | ^ | int xtruco.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:748:1: warning: non-void function does not return a value [-Wreturn-type] 748 | } | ^ xtruco.c:750:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 750 | card2( display, window, type ) | ^ | int xtruco.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:757:1: warning: non-void function does not return a value [-Wreturn-type] 757 | } | ^ xtruco.c:759:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 759 | card3( display, window, type ) | ^ | int xtruco.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:766:1: warning: non-void function does not return a value [-Wreturn-type] 766 | } | ^ xtruco.c:768:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 768 | Button_Cut( display, window, type ) | ^ | int xtruco.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:781:1: warning: non-void function does not return a value [-Wreturn-type] 781 | } | ^ xtruco.c:783:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 783 | ShowCards(display, window, pixmap, gc, card ) | ^ | int xtruco.c:802:2: warning: call to undeclared function 'Shuffle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 802 | Shuffle(); | ^ xtruco.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | ShowCards(display, window, pixmap, gc, card ) | ^ xtruco.c:813:1: warning: non-void function does not return a value [-Wreturn-type] 813 | } | ^ xtruco.c:815:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 815 | Shuffle() | ^ | int xtruco.c:823:6: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | v= RANDOM(40); | ^ xtruco.c:830:1: warning: non-void function does not return a value [-Wreturn-type] 830 | } | ^ xtruco.c:832:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 832 | Cuting(display, window, pixmap, gc, card, pos) | ^ | int xtruco.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:922:1: warning: non-void function does not return a value [-Wreturn-type] 922 | } | ^ xtruco.c:924:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 924 | TableCards (display, window, pixmap, gc, card ) | ^ | int xtruco.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:953:1: warning: non-void function does not return a value [-Wreturn-type] 953 | } | ^ xtruco.c:958:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 958 | DrawScore( display, window, pixmap, gc, c1, c2, c3, f, h, v, draw_score ) | ^ | int xtruco.c:986:2: warning: call to undeclared function 'ShowText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 986 | ShowText( display, window, gc, "Machine", p1+5, n+2*f ); | ^ xtruco.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | DrawScore( display, window, pixmap, gc, c1, c2, c3, f, h, v, draw_score ) | ^ xtruco.c:992:1: warning: non-void function does not return a value [-Wreturn-type] 992 | } | ^ xtruco.c:994:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 994 | ShowText( display, window, gc, text, pos1, pos2 ) | ^ | int xtruco.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:1007:1: warning: non-void function does not return a value [-Wreturn-type] 1007 | } | ^ xtruco.c:1009:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1009 | TalkMachine( display, window, gc, text, type ) | ^ | int xtruco.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xtruco.c:1037:1: warning: non-void function does not return a value [-Wreturn-type] 1037 | } | ^ xtruco.c:1040:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1040 | FirstGame() | ^ | int xtruco.c:1066:11: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1066 | aleat= RANDOM(10); | ^ xtruco.c:1089:7: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1089 | if((RANDOM(3))==1) aleat=-1; else aleat=1; | ^ xtruco.c:1110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1110 | SecondGame() | ^ | int xtruco.c:1129:8: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1129 | aleat=RANDOM(4); | ^ xtruco.c:1181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1181 | ThirdGame() | ^ | int xtruco.c:1195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1195 | CanSayTruco(val1, val2) | ^ | int xtruco.c:1220:9: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1220 | && (RANDOM(2)==0)) { danger=1; ret=1; } | ^ xtruco.c:1245:9: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1245 | aleat=RANDOM(3); | ^ xtruco.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | CanSayTruco(val1, val2) | ^ xtruco.c:1269:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1269 | AcceptTruco(val1) | ^ | int xtruco.c:1322:9: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1322 | && (RANDOM(2)==0)) ret=1; | ^ xtruco.c:1330:16: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1330 | (c2>6) && (RANDOM(4)==1)) {ret=1;danger=1;} | ^ xtruco.c:1342:35: warning: call to undeclared function 'RANDOM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1342 | else if((c1>6) && (!alert) && (RANDOM(2)==1)) | ^ xtruco.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | AcceptTruco(val1) | ^ xtruco.c:1357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1357 | RANDOM( val_score ) | ^ | int xtruco.c:1357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 warnings generated. --- color.o --- color.c:9:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | unsigned long GetColor( display, name, colormap, default_color ) | ^ In file included from color.c:7: ./xbook.h:54:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | unsigned long GetColor(); | ^ 2 warnings generated. --- topwind.o --- --- pixmap.o --- pixmap.c:21:3: warning: call to undeclared function 'QuitX'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | QuitX( display, | ^ pixmap.c:25:14: warning: passing arguments to 'MakeGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | *gc = MakeGC( display, pixmap, fore, back ); | ^ pixmap.c:26:2: warning: call to undeclared function 'ClearPixmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | ClearPixmap( display, pixmap, *gc, fore, back, width, height ); | ^ pixmap.c:8:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | Pixmap CreatePixmap( display, window, width, height, depth, fore, back, gc) | ^ In file included from pixmap.c:6: ./xbook.h:47:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | Pixmap CreatePixmap(); | ^ pixmap.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | ClearPixmap( display, pixmap, gc, fore, back, width, height ) | ^ | int pixmap.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] pixmap.c:41:1: warning: non-void function does not return a value [-Wreturn-type] 41 | } | ^ 8 warnings generated. --- button.o --- button.c:26:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | CreateButton( display, window, x, y, fore, back, font_id, text, function ) | ^ | int button.c:40:19: warning: passing arguments to 'CreateWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | w = CreateWindow( display, window, x, y, | ^ button.c:44:14: warning: passing arguments to 'MakeGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | gc = MakeGC( display, w, fore, back ); | ^ button.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CreateButton( display, window, x, y, fore, back, font_id, text, function ) | ^ button.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | ButtonEvent( display, event ) | ^ | int button.c:81:19: warning: call to undeclared function 'ButtonFind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | which_button = ButtonFind( display, | ^ button.c:85:5: warning: call to undeclared function 'ButtonRedraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | ButtonRedraw( display, which_button ); | ^ button.c:94:5: warning: call to undeclared function 'ButtonExec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | ButtonExec( display, which_button ); | ^ button.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ButtonEvent( display, event ) | ^ button.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | ButtonExec( display, which_button ) | ^ | int button.c:107:2: warning: call to undeclared function 'ButtonHighlight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | ButtonHighlight( display, which_button ); | ^ button.c:108:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | (AppButtons[ which_button ].function)(display, | ^ button.c:112:2: warning: call to undeclared function 'ButtonRedraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | ButtonRedraw( display, which_button ); | ^ button.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ButtonExec( display, which_button ) | ^ button.c:113:1: warning: non-void function does not return a value [-Wreturn-type] 113 | } | ^ button.c:115:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 115 | ButtonHighlight( display, which_button ) | ^ | int button.c:124:2: warning: call to undeclared function 'SetGC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | SetGC( display, | ^ button.c:128:2: warning: call to undeclared function 'ButtonText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | ButtonText( display, | ^ button.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | ButtonHighlight( display, which_button ) | ^ button.c:138:1: warning: non-void function does not return a value [-Wreturn-type] 138 | } | ^ button.c:140:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | ButtonRedraw( display, which_button ) | ^ | int button.c:149:2: warning: call to undeclared function 'ButtonText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | ButtonText( display, | ^ button.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | ButtonRedraw( display, which_button ) | ^ button.c:154:1: warning: non-void function does not return a value [-Wreturn-type] 154 | } | ^ button.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | ButtonText( display, window, gc, text, length ) | ^ | int button.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] button.c:166:1: warning: non-void function does not return a value [-Wreturn-type] 166 | } | ^ button.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 168 | ButtonFind( display, window ) | ^ | int button.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 warnings generated. --- xtruco.o --- --- button.o --- --- window.o --- window.c:40:3: warning: call to undeclared function 'QuitX'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | QuitX( display, "", | ^ window.c:9:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | Window CreateWindow( display, parent, x, y, width, height, border, fore, back, | ^ In file included from window.c:5: ./xbook.h:58:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | Window CreateWindow(); | ^ window.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | CheckGeometry( argc, argv, screen_width, screen_height, x, y, width, height ) | ^ | int window.c:65:16: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 65 | &x1, &y1, &width1, &height1 ); | ^~~~~~~ /usr/local/include/X11/Xlib.h:2871:37: note: passing argument to parameter here 2871 | unsigned int* /* width_return */, | ^ window.c:65:25: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 65 | &x1, &y1, &width1, &height1 ); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:2873:1: note: passing argument to parameter here 2873 | ); | ^ window.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | CheckGeometry( argc, argv, screen_width, screen_height, x, y, width, height ) | ^ window.c:82:1: warning: non-void function does not return a value [-Wreturn-type] 82 | } | ^ window.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | MapWindow( display, window ) | ^ | int window.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:91:1: warning: non-void function does not return a value [-Wreturn-type] 91 | } | ^ window.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | NameWindow( display, window, name, class_name, class_type ) | ^ | int window.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:120:1: warning: non-void function does not return a value [-Wreturn-type] 120 | } | ^ window.c:122:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 122 | SetWMHints( display, window, icon ) | ^ | int window.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:157:1: warning: non-void function does not return a value [-Wreturn-type] 157 | } | ^ window.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 159 | SetNormalHints( display, window, x, y, width, height ) | ^ | int window.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:190:1: warning: non-void function does not return a value [-Wreturn-type] 190 | } | ^ window.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | GetAppName( name ) | ^ | int window.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] window.c:196:1: warning: non-void function does not return a value [-Wreturn-type] 196 | } | ^ 23 warnings generated. --- font.o --- font.c:20:2: warning: call to undeclared function 'CheckFontName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | CheckFontName( argc, argv, name ); | ^ font.c:36:3: warning: call to undeclared function 'QuitX'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | QuitX( display, "Error: could not load font ", | ^ font.c:9:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | XFontStruct *LoadFont( display, gc, argc, argv, default_name ) | ^ In file included from font.c:7: ./xbook.h:70:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | XFontStruct *LoadFont(); | ^ font.c:42:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | CheckFontName( argc, argv, fontname ) | ^ | int font.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] font.c:68:1: warning: non-void function does not return a value [-Wreturn-type] 68 | } | ^ 7 warnings generated. --- read.o --- read.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | InvButton( display, window, x, y, c, a, function ) | ^ | int read.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read.c:42:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | InvEvent( display, event ) | ^ | int read.c:52:19: warning: call to undeclared function 'InvFind'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | which_button = InvFind( display, | ^ read.c:58:43: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | (InvButtons[ which_button ].function)(display, | ^ read.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | InvEvent( display, event ) | ^ read.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | InvFind( display, window, p1, p2 ) | ^ | int read.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 warnings generated. --- all --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DX11R6 -I/usr/local/include -DIPC_OK -o xtruco -lX11 -L/usr/local/lib xtruco.o bitmap.o cursor.o display.o event.o gc.o pixmap.o topwind.o window.o color.o button.o font.o read.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xtruco-1.0_2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xtruco-1.0_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/xtruco/work/xtruco/xtruco /wrkdirs/usr/ports/games/xtruco/work/stage/usr/local/bin ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-17T06:33:15+0000' 'PKG_NOTE_ports_top_git_hash=8c988f802ea2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d56127bdfc7d' '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 xtruco-1.0_2 ===> Building xtruco-1.0_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xtruco-1.0_2 build of games/xtruco | xtruco-1.0_2 ended at Tue Mar 17 02:34:18 EDT 2026 build time: 00:01:04