Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2018 20:21:12 GMT
From:      pkg-fallout@FreeBSD.org
To:        nemysis@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][games/xye] Failed for xye-0.12.2_3 in build
Message-ID:  <201801302021.w0UKLCYV050943@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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://beefy12.nyi.freebsd.org/data/head-amd64-default/p460361_s328567/logs/xye-0.12.2_3.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p460361_s328567
Log:

=>> Building games/xye
build started at Tue Jan 30 20:20:30 UTC 2018
port directory: /usr/ports/games/xye
package name: xye-0.12.2_3
building for: FreeBSD head-amd64-default-job-01 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: nemysis@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/xye/Makefile 412346 2016-04-01 14:00:51Z mat $
Poudriere version: 3.2.4-22-g5aece630
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 01




!!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4-22-g5aece630
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /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 ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=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)  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--
=======================<phase: check-sanity   >============================
===>  License ZLIB accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xye-0.12.2_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-01] Installing pkg-1.10.4...
[head-amd64-default-job-01] Extracting pkg-1.10.4: .......... done
===>   xye-0.12.2_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xye-0.12.2_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License ZLIB accepted by the user
===> Fetching all distfiles required by xye-0.12.2_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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.
=> SHA256 Checksum OK for xye/Xye%20level%20-%20The%20insider.zip.
=> SHA256 Checksum OK for xye/Xye%20level%20-%20The%20slow%20speedrun.zip.
=> SHA256 Checksum OK for xye/Xye%20levels%20-%20SuperJustin.zip.
=> SHA256 Checksum OK for xye/Xye%20level%20-%20disturbingarrows.zip.
=> SHA256 Checksum OK for xye/Xye%20level%20-%20Duels%20of%20fate.zip.
=> SHA256 Checksum OK for xye/nuffmagnets.zip.
=> SHA256 Checksum OK for xye/Xye%20levels%20-%20Pyramid%20treasure.zip.
=> SHA256 Checksum OK for xye/afirflood.zip.
=> SHA256 Checksum OK for xye/Xye%20level%20-%20Blob%20prison.zip.
=> SHA256 Checksum OK for xye/Xye%20levels%20-%20ActionReplay.zip.
=> SHA256 Checksum OK for xye/Xye%20level%20-%20gravity.zip.
=> SHA256 Checksum OK for xye/Xye%20level%20-%20pluzze.zip.
=> SHA256 Checksum OK for xye/dungeon.xye.
=> SHA256 Checksum OK for xye/turnaround.xye.
=> SHA256 Checksum OK for xye/chekhov.xye.
=> SHA256 Checksum OK for xye/xmas-xye-2009.zip.
=> SHA256 Checksum OK for xye/xye_extra_levels.20121109.zip.
=> SHA256 Checksum OK for xye/Xye%20skin%20-%20classic%20kye.zip.
=> SHA256 Checksum OK for xye/XMASKYESKIN.zip.
===========================================================================
=======================<phase: extract-depends>============================
===>   xye-0.12.2_3 depends on file: /usr/local/bin/unzip - not found
===>   Installing existing package /packages/All/unzip-6.0_7.txz
[head-amd64-default-job-01] Installing unzip-6.0_7...
[head-amd64-default-job-01] Extracting unzip-6.0_7: .......... done
===>   xye-0.12.2_3 depends on file: /usr/local/bin/unzip - found
===>   Returning to build of xye-0.12.2_3
===========================================================================
=======================<phase: extract        >============================
===>  License ZLIB accepted by the user
===> Fetching all distfiles required by xye-0.12.2_3 for building
===>  Extracting for xye-0.12.2_3
<snip>
        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
c++ -DDATA_PATH=\"/usr/local/share/xye/\" -I.     -O2 -pipe -fstack-protector -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<unsigned char>( )
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<unsigned char>( )
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801302021.w0UKLCYV050943>