[package - head-i386-default][emulators/vba] Failed for vba-1.7.2_13 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Wed Oct 31 04:19:31 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: arundel at h3c.de
Last committer: linimon at FreeBSD.org
Ident: $FreeBSD: head/emulators/vba/Makefile 444251 2017-06-25 00:29:09Z linimon $
Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p483439_s339902/logs/vba-1.7.2_13.log
Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p483439_s339902
Log:
=>> Building emulators/vba
build started at Wed Oct 31 04:19:10 UTC 2018
port directory: /usr/ports/emulators/vba
package name: vba-1.7.2_13
building for: FreeBSD head-i386-default-job-15 13.0-CURRENT FreeBSD 13.0-CURRENT 1300002 i386
maintained by: arundel at h3c.de
Makefile ident: $FreeBSD: head/emulators/vba/Makefile 444251 2017-06-25 00:29:09Z linimon $
Poudriere version: 3.2.8
Host OSVERSION: 1300000
Jail OSVERSION: 1300002
Job Id: 15
!!! Jail is newer than host. (Jail: 1300002, Host: 1300000) !!!
!!! 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=1300002
UNAME_v=FreeBSD 13.0-CURRENT 1300002
UNAME_r=13.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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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 vba-1.7.2_13:
DOCS=on: Build and/or install documentation
GTK2=off: GTK+ 2 GUI toolkit support
PROFILING=off: Enable profiling
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
arundel at h3c.de
--End MAINTAINER--
--CONFIGURE_ARGS--
--disable-profiling --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/emulators/vba/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/vba/work HOME=/wrkdirs/usr/ports/emulators/vba/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/vba/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/emulators/vba/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/vba/work HOME=/wrkdirs/usr/ports/emulators/vba/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/vba/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="-I/usr/local/include" LDFLAGS=" -fstack-protector " LIBS="-L/usr/local/lib -lintl" 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="" DOCS="" NO_DOCS="@comment " GTK2="@comment " NO_GTK2="" PROFILING="@comment " NO_PROFILING="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/vba" EXAMPLESDIR="share/examples/vba" DATADIR="share/vba" WWWDIR="www/vba" ETCDIR="etc/vba"
--End PLIST_SUB--
--SUB_LIST--
DOCS="" NO_DOCS="@comment " GTK2="@comment " NO_GTK2="" PROFILING="@comment " NO_PROFILING="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/vba DOCSDIR=/usr/local/share/doc/vba EXAMPLESDIR=/usr/local/share/examples/vba WWWDIR=/usr/local/www/vba ETCDIR=/usr/local/etc/vba
--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
# 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: i386-unknown-freebsd13.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: i386-unknown-freebsd13.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" "-m" "elf_i386_fbsd" "-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: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300002
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---
--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 >============================
===> License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> vba-1.7.2_13 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-i386-default-job-15] Installing pkg-1.10.5_5...
[head-i386-default-job-15] Extracting pkg-1.10.5_5: .......... done
===> vba-1.7.2_13 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of vba-1.7.2_13
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by vba-1.7.2_13 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by vba-1.7.2_13 for building
=> SHA256 Checksum OK for VisualBoyAdvance-src-1.7.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by vba-1.7.2_13 for building
===> Extracting for vba-1.7.2_13
=> SHA256 Checksum OK for VisualBoyAdvance-src-1.7.2.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
<snip>
^
debugger.cpp:124:49: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "symbols", debuggerSymbols, "List symbols", "[<symbol>]" },
^
debugger.cpp:126:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "trace", debuggerDebug, "Sets the trace level", "<value>" },
^
debugger.cpp:126:35: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "trace", debuggerDebug, "Sets the trace level", "<value>" },
^
debugger.cpp:126:59: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "trace", debuggerDebug, "Sets the trace level", "<value>" },
^
debugger.cpp:129:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "verbose", debuggerVerbose, "Change verbose setting", "<value>" },
^
debugger.cpp:129:37: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "verbose", debuggerVerbose, "Change verbose setting", "<value>" },
^
debugger.cpp:129:63: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "verbose", debuggerVerbose, "Change verbose setting", "<value>" },
^
debugger.cpp:131:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "where", debuggerWhere, "Shows call chain", NULL },
^
debugger.cpp:131:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
{ "where", debuggerWhere, "Shows call chain", NULL },
^
debugger.cpp:436:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
printf(m->name);
^~~~~~~
debugger.cpp:436:14: note: treat the string as an argument to avoid this
printf(m->name);
^
"%s",
debugger.cpp:534:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
char *ts = "?";
^
debugger.cpp:537:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
ts = "ARM";
^
debugger.cpp:540:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
ts = "THUMB";
^
debugger.cpp:543:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
ts = "DATA";
^
debugger.cpp:672:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("trace");
^
debugger.cpp:683:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("verbose");
^
debugger.cpp:823:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("bd");
^
debugger.cpp:914:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("break");
^
debugger.cpp:930:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("bt");
^
debugger.cpp:946:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("ba");
^
debugger.cpp:1016:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("bpw");
^
debugger.cpp:1125:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
command[0]="m";
^
debugger.cpp:1127:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
command[2]="1";
^
debugger.cpp:1240:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("eb");
^
debugger.cpp:1256:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("eh");
^
debugger.cpp:1272:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("ew");
^
debugger.cpp:1310:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("mb");
^
debugger.cpp:1346:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("mh");
^
debugger.cpp:1385:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
debuggerUsage("mw");
^
debugger.cpp:1403:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
printf(s);
^
debugger.cpp:1403:12: note: treat the string as an argument to avoid this
printf(s);
^
"%s",
104 warnings generated.
if c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/local/include -fno-exceptions -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing -DMMX -DDEV_VERSION -MT 2xSaI.o -MD -MP -MF ".deps/2xSaI.Tpo" \
-c -o 2xSaI.o `test -f '../2xSaI.cpp' || echo './'`../2xSaI.cpp; \
then mv -f ".deps/2xSaI.Tpo" ".deps/2xSaI.Po"; \
else rm -f ".deps/2xSaI.Tpo"; exit 1; \
fi
./2xSaI.cpp:156:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register u32 x = ((A & qcolorMask) >> 2) +
^~~~~~~~~
./2xSaI.cpp:159:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register u32 y = (A & qlowpixelMask) +
^~~~~~~~~
./2xSaI.cpp:282:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int r = 0;
^~~~~~~~~
./2xSaI.cpp:414:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int r = 0;
^~~~~~~~~
./2xSaI.cpp:574:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int r = 0;
^~~~~~~~~
./2xSaI.cpp:709:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int r = 0;
^~~~~~~~~
./2xSaI.cpp:789:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register u32 colorA, colorB;
^~~~~~~~~
./2xSaI.cpp:789:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register u32 colorA, colorB;
^~~~~~~~~
./2xSaI.cpp:862:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int r = 0;
^~~~~~~~~
./2xSaI.cpp:949:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register u32 colorA, colorB;
^~~~~~~~~
./2xSaI.cpp:949:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register u32 colorA, colorB;
^~~~~~~~~
./2xSaI.cpp:1022:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int r = 0;
^~~~~~~~~
12 warnings generated.
if c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/local/include -fno-exceptions -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing -DMMX -DDEV_VERSION -MT Cheats.o -MD -MP -MF ".deps/Cheats.Tpo" \
-c -o Cheats.o `test -f '../Cheats.cpp' || echo './'`../Cheats.cpp; \
then mv -f ".deps/Cheats.Tpo" ".deps/Cheats.Po"; \
else rm -f ".deps/Cheats.Tpo"; exit 1; \
fi
./Cheats.cpp:1347:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
address & 255,
^~~~~~~~~~~~~
./Cheats.cpp:1347:5: note: insert an explicit cast to silence this issue
address & 255,
^~~~~~~~~~~~~
static_cast<u8>( )
./Cheats.cpp:1348:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
(address >> 8) & 255,
^~~~~~~~~~~~~~~~~~~~
./Cheats.cpp:1348:5: note: insert an explicit cast to silence this issue
(address >> 8) & 255,
^~~~~~~~~~~~~~~~~~~~
static_cast<u8>( )
./Cheats.cpp:1349:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
(address >> 16) & 255,
^~~~~~~~~~~~~~~~~~~~~
./Cheats.cpp:1349:5: note: insert an explicit cast to silence this issue
(address >> 16) & 255,
^~~~~~~~~~~~~~~~~~~~~
static_cast<u8>( )
./Cheats.cpp:1350:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
(address >> 24) & 255,
^~~~~~~~~~~~~~~~~~~~~
./Cheats.cpp:1350:5: note: insert an explicit cast to silence this issue
(address >> 24) & 255,
^~~~~~~~~~~~~~~~~~~~~
static_cast<u8>( )
./Cheats.cpp:1351:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
(value & 255),
^~~~~~~~~~~~~
./Cheats.cpp:1351:5: note: insert an explicit cast to silence this issue
(value & 255),
^~~~~~~~~~~~~
static_cast<u8>( )
./Cheats.cpp:1352:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
(value >> 8) & 255,
^~~~~~~~~~~~~~~~~~
./Cheats.cpp:1352:5: note: insert an explicit cast to silence this issue
(value >> 8) & 255,
^~~~~~~~~~~~~~~~~~
static_cast<u8>( )
6 errors generated.
gmake[3]: *** [Makefile:614: Cheats.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2/src/sdl'
gmake[2]: *** [Makefile:221: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2/src'
gmake[1]: *** [Makefile:212: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2'
*** Error code 1
Stop.
make: stopped in /usr/ports/emulators/vba
More information about the freebsd-pkg-fallout
mailing list