[package - 141i386-default][games/xye] Failed for xye-0.12.2_4 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Nov 2024 01:13:51 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: ports@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/beefy21/data/141i386-default/0843df7824bf/logs/xye-0.12.2_4.log
Build URL: https://pkg-status.freebsd.org/beefy21/build.html?mastername=141i386-default&build=0843df7824bf
Log:
=>> Building games/xye
build started at Thu Nov 28 01:13:18 UTC 2024
port directory: /usr/ports/games/xye
package name: xye-0.12.2_4
building for: FreeBSD 141i386-default-job-41 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 i386
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 2878 May 21 2024 /usr/ports/games/xye/Makefile
Ports top last git commit: 0843df7824
Ports top unclean checkout: no
Port dir last git commit: a40e262549
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 41
---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1401000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.1-RELEASE-p6
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.1-RELEASE-p6
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/141i386-default/41/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141i386-default/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---
===> The following configuration options are available for xye-0.12.2_4:
DOCS=on: Build and/or install documentation
SKINS=on: Install additional skins
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--with-docdir=/usr/local/share/doc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/xye/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xye/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xye/work/.cache HOME=/wrkdirs/usr/ports/games/xye/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xye/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xye/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--
--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/xye/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xye/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xye/work/.cache HOME=/wrkdirs/usr/ports/games/xye/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xye/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xye/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DAT
A="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PORTDOCS="" DOCS="" NO_DOCS="@comment " SKINS="" NO_SKINS="@comment " OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xye" EXAMPLESDIR="share/examples/xye" DATADIR="share/xye" WWWDIR="www/xye" ETCDIR="etc/xye"
--End PLIST_SUB--
--SUB_LIST--
DOCS="" NO_DOCS="@comment " SKINS="" NO_SKINS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xye DOCSDIR=/usr/local/share/doc/xye EXAMPLESDIR=/usr/local/share/examples/xye WWWDIR=/usr/local/www/xye ETCDIR=/usr/local/etc/xye
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 524288
stack size (kbytes, -s) 65536
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
--End resource limits--
=======================<phase: check-sanity >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> NOTICE:
The xye port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> License ZLIB accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> xye-0.12.2_4 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.21.3.pkg
[141i386-default-job-41] Installing pkg-1.21.3...
[141i386-default-job-41] Extracting pkg-1.21.3: .......... done
===> xye-0.12.2_4 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of xye-0.12.2_4
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> NOTICE:
The xye port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> License ZLIB accepted by the user
===> Fetching all distfiles required by xye-0.12.2_4 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> NOTICE:
The xye port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
https://bugs.freebsd.org/bugzilla
More information about port maintainership is available at:
https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===> License ZLIB accepted by the user
===> Fetching all distfiles required by xye-0.12.2_4 for building
=> SHA256 Checksum OK for xye/xye-0.12.2.tar.gz.
=> SHA256 Checksum OK for xye/Xye%20level%20-%204corners.zip.
<snip>
src/xye.cpp:9277:12: warning: 40 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch]
9277 | switch(object->GetType())
| ^~~~~~~~~~~~~~~~~
src/xye.cpp:9317:1: warning: '/*' within block comment [-Wcomment]
9317 | /** /Object recycle queue **/
| ^
src/xye.cpp:9333:9: warning: delete called on 'obj' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
9333 | delete (tm->o);
| ^
62 warnings generated.
mv -f .deps/xye.Tpo .deps/xye.Po
c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT xsb_level.o -MD -MP -MF .deps/xsb_level.Tpo -c -o xsb_level.o `test -f 'src/xsb_level.cpp' || echo './'`src/xsb_level.cpp
In file included from src/xsb_level.cpp:24:
In file included from src/xye_script.h:13:
src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
636 | const TiXmlDocument* ToDocument() const { return ( this && type == DOCUMENT ) ? (const TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
637 | const TiXmlElement* ToElement() const { return ( this && type == ELEMENT ) ? (const TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
640 | const TiXmlText* ToText() const { return ( this && type == TEXT ) ? (const TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
643 | TiXmlDocument* ToDocument() { return ( this && type == DOCUMENT ) ? (TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
644 | TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/xsb_level.cpp:546:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
546 | if (tm=tm->Next)
| ~~^~~~~~~~~
src/xsb_level.cpp:546:19: note: place parentheses around the assignment to silence this warning
546 | if (tm=tm->Next)
| ^
| ( )
src/xsb_level.cpp:546:19: note: use '==' to turn this assignment into an equality comparison
546 | if (tm=tm->Next)
| ^
| ==
src/xsb_level.cpp:637:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
637 | if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
src/xsb_level.cpp:637:15: note: place parentheses around the assignment to silence this warning
637 | if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL);
| ^
| ( )
src/xsb_level.cpp:637:15: note: use '==' to turn this assignment into an equality comparison
637 | if (object=game::Square(x,y)->object ) return (object->GetType()==OT_WALL);
| ^
| ==
src/xsb_level.cpp:648:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
648 | if (object=sq->object)
| ~~~~~~^~~~~~~~~~~
src/xsb_level.cpp:648:15: note: place parentheses around the assignment to silence this warning
648 | if (object=sq->object)
| ^
| ( )
src/xsb_level.cpp:648:15: note: use '==' to turn this assignment into an equality comparison
648 | if (object=sq->object)
| ^
| ==
src/xsb_level.cpp:681:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
681 | if (object=sq->object)
| ~~~~~~^~~~~~~~~~~
src/xsb_level.cpp:681:15: note: place parentheses around the assignment to silence this warning
681 | if (object=sq->object)
| ^
| ( )
src/xsb_level.cpp:681:15: note: use '==' to turn this assignment into an equality comparison
681 | if (object=sq->object)
| ^
| ==
src/xsb_level.cpp:815:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
815 | if (object=sq->object)
| ~~~~~~^~~~~~~~~~~
src/xsb_level.cpp:815:15: note: place parentheses around the assignment to silence this warning
815 | if (object=sq->object)
| ^
| ( )
src/xsb_level.cpp:815:15: note: use '==' to turn this assignment into an equality comparison
815 | if (object=sq->object)
| ^
| ==
17 warnings generated.
mv -f .deps/xsb_level.Tpo .deps/xsb_level.Po
c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-c++11-narrowing -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -MT xye_script.o -MD -MP -MF .deps/xye_script.Tpo -c -o xye_script.o `test -f 'src/xye_script.cpp' || echo './'`src/xye_script.cpp
In file included from src/xye_script.cpp:20:
In file included from src/options.h:1:
src/tinyxml/xye_tinyxml.h:636:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
636 | const TiXmlDocument* ToDocument() const { return ( this && type == DOCUMENT ) ? (const TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:637:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
637 | const TiXmlElement* ToElement() const { return ( this && type == ELEMENT ) ? (const TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:638:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
638 | const TiXmlComment* ToComment() const { return ( this && type == COMMENT ) ? (const TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:639:54: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
639 | const TiXmlUnknown* ToUnknown() const { return ( this && type == UNKNOWN ) ? (const TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:640:52: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
640 | const TiXmlText* ToText() const { return ( this && type == TEXT ) ? (const TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:641:59: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
641 | const TiXmlDeclaration* ToDeclaration() const { return ( this && type == DECLARATION ) ? (const TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:643:43: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
643 | TiXmlDocument* ToDocument() { return ( this && type == DOCUMENT ) ? (TiXmlDocument*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:644:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
644 | TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:645:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
645 | TiXmlComment* ToComment() { return ( this && type == COMMENT ) ? (TiXmlComment*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:646:42: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
646 | TiXmlUnknown* ToUnknown() { return ( this && type == UNKNOWN ) ? (TiXmlUnknown*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:647:41: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
647 | TiXmlText* ToText() { return ( this && type == TEXT ) ? (TiXmlText*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/tinyxml/xye_tinyxml.h:648:47: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
648 | TiXmlDeclaration* ToDeclaration() { return ( this && type == DECLARATION ) ? (TiXmlDeclaration*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
| ^~~~ ~~
src/xye_script.cpp:303:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
303 | else if (pack=fil.FirstChildElement("xyereplay"))
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:303:22: note: place parentheses around the assignment to silence this warning
303 | else if (pack=fil.FirstChildElement("xyereplay"))
| ^
| ( )
src/xye_script.cpp:303:22: note: use '==' to turn this assignment into an equality comparison
303 | else if (pack=fil.FirstChildElement("xyereplay"))
| ^
| ==
src/xye_script.cpp:405:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
405 | if (pack=pack->FirstChildElement("moves"))
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:405:25: note: place parentheses around the assignment to silence this warning
405 | if (pack=pack->FirstChildElement("moves"))
| ^
| ( )
src/xye_script.cpp:405:25: note: use '==' to turn this assignment into an equality comparison
405 | if (pack=pack->FirstChildElement("moves"))
| ^
| ==
src/xye_script.cpp:862:5: error: reference to 'lock' is ambiguous
862 | lock* bc=new lock(game::SquareN(LastX,LastY),c);
| ^
src/xye.h:1048:7: note: candidate found by name lookup is 'lock'
1048 | class lock : public obj
| ^
/usr/include/c++/v1/mutex:418:35: note: candidate found by name lookup is 'std::lock'
418 | inline _LIBCPP_HIDE_FROM_ABI void lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3&... __l3) {
| ^
/usr/include/c++/v1/mutex:358:28: note: candidate found by name lookup is 'std::lock'
358 | _LIBCPP_HIDE_FROM_ABI void lock(_L0& __l0, _L1& __l1) {
| ^
src/xye_script.cpp:1517:16: warning: 4 enumeration values not handled in switch: 'OT_XYE', 'OT_FIREBALL', 'OT_EXIT'... [-Wswitch]
1517 | switch(GetOTFromXmlElement(pEChild,&x))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:1917:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1917 | if (pEChild= ( level->FirstChildElement("kyeformat")))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/xye_script.cpp:1917:16: note: place parentheses around the assignment to silence this warning
1917 | if (pEChild= ( level->FirstChildElement("kyeformat")))
| ^
| ( )
src/xye_script.cpp:1917:16: note: use '==' to turn this assignment into an equality comparison
1917 | if (pEChild= ( level->FirstChildElement("kyeformat")))
| ^
| ==
16 warnings and 1 error generated.
gmake: *** [Makefile:647: xye_script.o] Error 1
*** Error code 1
Stop.
make: stopped in /usr/ports/games/xye