[package - head-amd64-default][games/galaxyhack] Failed for galaxyhack-1.74_28 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Wed Aug 15 10:55:34 UTC 2018
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 at FreeBSD.org
Last committer: jbeich at FreeBSD.org
Ident: $FreeBSD: head/games/galaxyhack/Makefile 476723 2018-08-09 06:58:30Z jbeich $
Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p477123_s337732/logs/galaxyhack-1.74_28.log
Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p477123_s337732
Log:
=>> Building games/galaxyhack
build started at Wed Aug 15 10:54:21 UTC 2018
port directory: /usr/ports/games/galaxyhack
package name: galaxyhack-1.74_28
building for: FreeBSD head-amd64-default-job-07 12.0-ALPHA1 FreeBSD 12.0-ALPHA1 1200077 amd64
maintained by: ports at FreeBSD.org
Makefile ident: $FreeBSD: head/games/galaxyhack/Makefile 476723 2018-08-09 06:58:30Z jbeich $
Poudriere version: 3.2.7-2-g1cf194be
Host OSVERSION: 1200069
Jail OSVERSION: 1200077
Job Id: 07
!!! Jail is newer than host. (Jail: 1200077, Host: 1200069) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200077
UNAME_v=FreeBSD 12.0-ALPHA1 1200077
UNAME_r=12.0-ALPHA1
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7-2-g1cf194be
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-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 galaxyhack-1.74_28:
FLEETS=off: Additional fleets
OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
ports at 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 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
#### /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
# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT= true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-ALPHA1
OSREL=12.0
OSVERSION=1200077
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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) 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 >============================
===> 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_28 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-amd64-default-job-07] Installing pkg-1.10.5_1...
[head-amd64-default-job-07] Extracting pkg-1.10.5_1: .......... done
===> galaxyhack-1.74_28 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of galaxyhack-1.74_28
===========================================================================
=======================<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:
<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_28 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===> Returning to build of galaxyhack-1.74_28
===========================================================================
=======================<phase: configure >============================
===> Configuring for galaxyhack-1.74_28
===========================================================================
=======================<phase: build >============================
===> Building for galaxyhack-1.74_28
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
More information about the freebsd-pkg-fallout
mailing list