Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2018 22:50:44 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][games/galaxyhack] Failed for galaxyhack-1.74_26 in build
Message-ID:  <201802012250.w11Moitx069178@beefy11.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:     ports@FreeBSD.org
Last committer: jbeich@FreeBSD.org
Ident:          $FreeBSD: head/games/galaxyhack/Makefile 459315 2018-01-18 04:11:02Z jbeich $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p460549_s328647/logs/galaxyhack-1.74_26.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p460549_s328647
Log:

=>> Building games/galaxyhack
build started at Thu Feb  1 22:49:35 UTC 2018
port directory: /usr/ports/games/galaxyhack
package name: galaxyhack-1.74_26
building for: FreeBSD head-i386-default-job-01 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/galaxyhack/Makefile 459315 2018-01-18 04:11:02Z jbeich $
Poudriere version: 3.2.4-27-gd8c1b2b1
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
UNAME_p=i386
UNAME_m=i386
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-i386-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-i386-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4-27-gd8c1b2b1
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 galaxyhack-1.74_26:
     FLEETS=off: Additional fleets
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  HOME=/wrkdirs/usr/ports/games/galaxyhack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/galaxyhack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPTIMIZED_CFLAGS=YES SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  HOME=/wrkdirs/usr/ports/games/galaxyhack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/galaxyhack/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="" FLEETS="@comment " NO_FLEETS="" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/galaxyhack"  EXAMPLESDIR="share/examples/galaxyhack"  DATADIR="share/galaxyhack"  WWWDIR="www/galaxyhack"  ETCDIR="etc/galaxyhack"
--End PLIST_SUB--

--SUB_LIST--
FLEETS="@comment " NO_FLEETS="" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/galaxyhack DOCSDIR=/usr/local/share/doc/galaxyhack EXAMPLESDIR=/usr/local/share/examples/galaxyhack  WWWDIR=/usr/local/www/galaxyhack ETCDIR=/usr/local/etc/galaxyhack
--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}
#### /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=i386
CONFIGURE_MAX_CMD_LEN=262144
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)  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)  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   >============================
===>   NOTICE:

The galaxyhack 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   galaxyhack-1.74_26 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-01] Installing pkg-1.10.4...
[head-i386-default-job-01] Extracting pkg-1.10.4: .......... done
===>   galaxyhack-1.74_26 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of galaxyhack-1.74_26
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The galaxyhack 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by galaxyhack-1.74_26 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The galaxyhack 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by galaxyhack-1.74_26 for building
=> SHA256 Checksum OK for galaxyhack-1.74.tar.bz2.
===========================================================================
<snip>
More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   galaxyhack-1.74_26 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of galaxyhack-1.74_26
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for galaxyhack-1.74_26
===========================================================================
=======================<phase: build          >============================
===>  Building for galaxyhack-1.74_26
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/galaxyhack/work/galaxyhack/src'
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c AIInterpreter.cpp -o AIInterpreter.o
AIInterpreter.cpp:1450:9: warning: 4 enumeration values not handled in switch: 'CD_NE', 'CD_SE', 'CD_SW'... [-Wswitch]
        switch(which) {
               ^
AIInterpreter.cpp:1460:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c AutoFireUnit.cpp -o AutoFireUnit.o
AutoFireUnit.cpp:212:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:224:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:236:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:248:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:260:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:272:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:284:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:296:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:308:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:343:10: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
        switch (myCSType) {
                ^
AutoFireUnit.cpp:370:10: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
        switch (myCSType) {
                ^
AutoFireUnit.cpp:383:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
AutoFireUnit.cpp:394:11: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                switch (myCSType) {
                        ^
13 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c BCCompiler.cpp -o BCCompiler.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c DerivedGroups.cpp -o DerivedGroups.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c DragWindow.cpp -o DragWindow.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c ForceSelect.cpp -o ForceSelect.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c ForceSelectWin.cpp -o ForceSelectWin.o
ForceSelectWin.cpp:53:11: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:64:11: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:94:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:199:10: warning: 157 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_ExpensiveUpdate'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:299:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:387:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:428:10: warning: 160 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:449:10: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:464:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:500:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:566:11: warning: 161 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:607:10: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:639:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:671:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:691:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:818:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:870:10: warning: 157 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:950:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:968:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:991:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:1178:10: warning: 161 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
        switch (static_cast<WindowChoice>(equipType)) {
                ^
ForceSelectWin.cpp:1308:11: warning: 161 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:1364:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:1404:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:1430:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:1543:11: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
26 warnings generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c GenWindow.cpp -o GenWindow.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c GenWindow_Base.cpp -o GenWindow_Base.o
GenWindow_Base.cpp:84:11: warning: 159 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
1 warning generated.
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c GFX.cpp -o GFX.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c Globals.cpp -o Globals.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c Group.cpp -o Group.o
c++ -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c Group_Base.cpp -o Group_Base.o
Group_Base.cpp:230:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                       ^~~~~~~~~~~~~~~~~~~~~
Group_Base.cpp:230:24: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                       ^~~~~~~~~~~~~~~~~~~~~
                       static_cast<Sint16>( )
Group_Base.cpp:230:47: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                              ^~~~~~~~~~~~~~~~~~~~~
Group_Base.cpp:230:47: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              static_cast<Sint16>( )
Group_Base.cpp:230:70: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                     ^~~~~
Group_Base.cpp:230:70: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                     ^~~~~
                                                                     static_cast<Uint16>( )
Group_Base.cpp:230:77: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                            ^~~~~~
Group_Base.cpp:230:77: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                            ^~~~~~
                                                                            static_cast<Uint16>( )
Group_Base.cpp:346:10: warning: enumeration value 'MC_NoMove' not handled in switch [-Wswitch]
        switch (theCommands.moveCommand) {
                ^
Group_Base.cpp:930:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
                || (myy + height + possy > worldHeight) && theCommands.aimPropy > 0) {
                ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Group_Base.cpp:930:50: note: place parentheses around the '&&' expression to silence this warning
                || (myy + height + possy > worldHeight) && theCommands.aimPropy > 0) {
                                                        ^
                   (                                                               )
2 warnings and 4 errors generated.
gmake[1]: *** [Makefile:50: Group_Base.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/galaxyhack/work/galaxyhack/src'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/galaxyhack



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