From owner-freebsd-pkg-fallout@freebsd.org Sun Apr 1 01:30:23 2018 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD3A2F6FF14 for ; Sun, 1 Apr 2018 01:30:22 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5118681657 for ; Sun, 1 Apr 2018 01:30:22 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 12831F6FF0F; Sun, 1 Apr 2018 01:30:22 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7D11F6FF0D for ; Sun, 1 Apr 2018 01:30:21 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0321A81655 for ; Sun, 1 Apr 2018 01:30:21 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy16.nyi.freebsd.org (beefy16.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:e3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F233D1FCF7 for ; Sun, 1 Apr 2018 01:30:20 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy16.nyi.freebsd.org (localhost [127.0.0.1]) by beefy16.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id w311UKJw075096 for ; Sun, 1 Apr 2018 01:30:20 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy16.nyi.freebsd.org (8.15.2/8.15.2/Submit) id w311UKWJ075095; Sun, 1 Apr 2018 01:30:20 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sun, 1 Apr 2018 01:30:20 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201804010130.w311UKWJ075095@beefy16.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - head-armv7-default][games/xye] Failed for xye-0.12.2_3 in build X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2018 01:30:23 -0000 X-List-Received-Date: Sun, 01 Apr 2018 01:30:23 -0000 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: nemysis@FreeBSD.org Last committer: mat@FreeBSD.org Ident: $FreeBSD: head/games/xye/Makefile 412346 2016-04-01 14:00:51Z mat $ Log URL: http://beefy16.nyi.freebsd.org/data/head-armv7-default/p466017_s331831/logs/xye-0.12.2_3.log Build URL: http://beefy16.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p466017_s331831 Log: =>> Building games/xye build started at Sun Apr 1 01:29:48 UTC 2018 port directory: /usr/ports/games/xye package name: xye-0.12.2_3 building for: FreeBSD head-armv7-default-job-09 12.0-CURRENT FreeBSD 12.0-CURRENT 1200060 arm maintained by: nemysis@FreeBSD.org Makefile ident: $FreeBSD: head/games/xye/Makefile 412346 2016-04-01 14:00:51Z mat $ Poudriere version: 3.2.6 Host OSVERSION: 1200060 Jail OSVERSION: 1200060 Job Id: 09 ---Begin Environment--- SHELL=/bin/csh UNAME_p=armv7 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1200060 UNAME_v=FreeBSD 12.0-CURRENT 1200060 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.6 MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-armv7-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for xye-0.12.2_3: DOCS=on: Build and/or install documentation SKINS=on: Install additional skins ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- nemysis@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-docdir=/usr/local/share/doc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/xye/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xye/work 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 SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --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 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 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " SKINS="" NO_SKINS="@comment " OSREL=12.0 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--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=arm MACHINE_ARCH=armv7 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # 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 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv7-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv7 OPSYS=FreeBSD _OSRELEASE=12.0-CURRENT OSREL=12.0 OSVERSION=1200060 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ AS=/nxb-bin/usr/bin/as NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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) 1024 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-- =================================================== ===> License ZLIB accepted by the user =========================================================================== =================================================== ===> xye-0.12.2_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz [head-armv7-default-job-09] Installing pkg-1.10.5... [head-armv7-default-job-09] Extracting pkg-1.10.5: .......... done ===> xye-0.12.2_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xye-0.12.2_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License ZLIB accepted by the user ===> Fetching all distfiles required by xye-0.12.2_3 for building =========================================================================== =================================================== ===> License ZLIB accepted by the user ===> Fetching all distfiles required by xye-0.12.2_3 for building => SHA256 Checksum OK for xye/xye-0.12.2.tar.gz. => SHA256 Checksum OK for xye/Xye%20level%20-%204corners.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20Against%20the%20force.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20Stop%20that%20cab.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20Helping%20Hand.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20The%20plan.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20Controller.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20At%20once.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20Open%20Ended.zip. => SHA256 Checksum OK for xye/Xye%20level%20-%20Sorting.zip. if (gobject=game::Square(x,y)->gobject) ^ ( ) src/xye.cpp:7923:20: note: use '==' to turn this assignment into an equality comparison if (gobject=game::Square(x,y)->gobject) ^ == src/xye.cpp:8003:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gobject=game::Square(x,y)->gobject) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:8003:20: note: place parentheses around the assignment to silence this warning if (gobject=game::Square(x,y)->gobject) ^ ( ) src/xye.cpp:8003:20: note: use '==' to turn this assignment into an equality comparison if (gobject=game::Square(x,y)->gobject) ^ == src/xye.cpp:8084:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((game::counter8==0)) anim=!anim; ~~~~~~~~~~~~~~^~~ src/xye.cpp:8084:24: note: remove extraneous parentheses around the comparison to silence this warning if ((game::counter8==0)) anim=!anim; ~ ^ ~ src/xye.cpp:8084:24: note: use '=' to turn this equality comparison into an assignment if ((game::counter8==0)) anim=!anim; ^~ = src/xye.cpp:8106:12: warning: enumeration value 'D_DOWN' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp:8252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (active=RenderAfterObjects=(entering->HasBlockColor(c))) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/xye.cpp:8252:15: note: place parentheses around the assignment to silence this warning if (active=RenderAfterObjects=(entering->HasBlockColor(c))) ^ ( ) src/xye.cpp:8252:15: note: use '==' to turn this assignment into an equality comparison if (active=RenderAfterObjects=(entering->HasBlockColor(c))) ^ == src/xye.cpp:8435:17: warning: 39 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] switch (object->GetType()) ^ src/xye.cpp:8486:13: warning: 42 enumeration values not handled in switch: 'OT_XYE', 'OT_ROBOXYE', 'OT_WALL'... [-Wswitch] switch (entering->GetType()) ^ src/xye.cpp:8742:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (o= sq->object) ~^~~~~~~~~~~~ src/xye.cpp:8742:10: note: place parentheses around the assignment to silence this warning if (o= sq->object) ^ ( ) src/xye.cpp:8742:10: note: use '==' to turn this assignment into an equality comparison if (o= sq->object) ^ == src/xye.cpp:8874:13: warning: enumeration value 'KT_KILLORGANICS' not handled in switch [-Wswitch] switch (K->kt) ^ src/xye.cpp:9017:12: warning: 40 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch] switch(t) ^ src/xye.cpp:9060:12: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp:9226:12: warning: enumeration value 'D_LEFT' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp:9237:12: warning: enumeration value 'D_RIGHT' not handled in switch [-Wswitch] switch(dir) ^ src/xye.cpp:9277:12: warning: 40 enumeration values not handled in switch: 'OT_WALL', 'OT_BLOCK', 'OT_TRICKDOOR'... [-Wswitch] switch(object->GetType()) ^ src/xye.cpp:9317:1: warning: '/*' within block comment [-Wcomment] /** /Object recycle queue **/ ^ src/xye.cpp:9333:9: warning: delete called on 'obj' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] delete (tm->o); ^ 61 warnings generated. mv -f .deps/xye.Tpo .deps/xye.Po /nxb-bin/usr/bin/c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I. -O2 -pipe -fno-strict-aliasing -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] if (tm=tm->Next) ~~^~~~~~~~~ src/xsb_level.cpp:546:19: note: place parentheses around the assignment to silence this warning if (tm=tm->Next) ^ ( ) src/xsb_level.cpp:546:19: note: use '==' to turn this assignment into an equality comparison if (tm=tm->Next) ^ == src/xsb_level.cpp:637:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if (object=sq->object) ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:648:15: note: place parentheses around the assignment to silence this warning if (object=sq->object) ^ ( ) src/xsb_level.cpp:648:15: note: use '==' to turn this assignment into an equality comparison if (object=sq->object) ^ == src/xsb_level.cpp:681:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (object=sq->object) ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:681:15: note: place parentheses around the assignment to silence this warning if (object=sq->object) ^ ( ) src/xsb_level.cpp:681:15: note: use '==' to turn this assignment into an equality comparison if (object=sq->object) ^ == src/xsb_level.cpp:787:45: error: constant expression evaluates to -1 which cannot be narrowed to type 'unsigned char' [-Wc++11-narrowing] static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0}; ^~ src/xsb_level.cpp:787:45: note: insert an explicit cast to silence this issue static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0}; ^~ static_cast( ) src/xsb_level.cpp:787:61: error: constant expression evaluates to -1 which cannot be narrowed to type 'unsigned char' [-Wc++11-narrowing] static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0}; ^~ src/xsb_level.cpp:787:61: note: insert an explicit cast to silence this issue static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0}; ^~ static_cast( ) src/xsb_level.cpp:815:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (object=sq->object) ~~~~~~^~~~~~~~~~~ src/xsb_level.cpp:815:15: note: place parentheses around the assignment to silence this warning if (object=sq->object) ^ ( ) src/xsb_level.cpp:815:15: note: use '==' to turn this assignment into an equality comparison if (object=sq->object) ^ == 17 warnings and 2 errors generated. gmake[1]: *** [Makefile:633: xsb_level.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/xye/work/xye-0.12.2' *** Error code 1 Stop. make: stopped in /usr/ports/games/xye