[package - head-i386-default][games/numptyphysics] Failed for numptyphysics-0.3.r20090104_9 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Feb 8 13:03:26 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: amdmi3 at FreeBSD.org
Last committer: amdmi3 at FreeBSD.org
Ident: $FreeBSD: head/games/numptyphysics/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p461193_s329007/logs/numptyphysics-0.3.r20090104_9.log
Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p461193_s329007
Log:
=>> Building games/numptyphysics
build started at Thu Feb 8 13:02:30 UTC 2018
port directory: /usr/ports/games/numptyphysics
package name: numptyphysics-0.3.r20090104_9
building for: FreeBSD head-i386-default-job-04 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 i386
maintained by: amdmi3 at FreeBSD.org
Makefile ident: $FreeBSD: head/games/numptyphysics/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Poudriere version: 3.2.4-48-gf881e389
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 04
!!! 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
POUDRIERE_VERSION=3.2.4-48-gf881e389
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 numptyphysics-0.3.r20090104_9:
MOREFPS=on: Smoother graphics support
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
amdmi3 at FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
AUTOMAKE="true" ACLOCAL="true" MISSING="true" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/numptyphysics/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/numptyphysics/work HOME=/wrkdirs/usr/ports/games/numptyphysics/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/numptyphysics/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/numptyphysics/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/numptyphysics/work HOME=/wrkdirs/usr/ports/games/numptyphysics/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/numptyphysics/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="-I/usr/local/include -DINSTALL_BASE_PATH=\"\\\"/usr/local/share/numptyphysics\\\"\"" LDFLAGS=" -L/usr/local/lib -lpthread -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="" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/numptyphysics" EXAMPLESDIR="share/examples/numptyphysics" DATADIR="share/numptyphysics" WWWDIR="www/numptyphysics" ETCDIR="etc/numptyphysics"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/numptyphysics DOCSDIR=/usr/local/share/doc/numptyphysics EXAMPLESDIR=/usr/local/share/examples/numptyphysics WWWDIR=/usr/local/www/numptyphysics ETCDIR=/usr/local/etc/numptyphysics
--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 >============================
===> License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> numptyphysics-0.3.r20090104_9 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-04] Installing pkg-1.10.4...
[head-i386-default-job-04] Extracting pkg-1.10.4: .......... done
===> numptyphysics-0.3.r20090104_9 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of numptyphysics-0.3.r20090104_9
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by numptyphysics-0.3.r20090104_9 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by numptyphysics-0.3.r20090104_9 for building
=> SHA256 Checksum OK for numptyphysics-0.3.r20090104.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by numptyphysics-0.3.r20090104_9 for building
===> Extracting for numptyphysics-0.3.r20090104_9
=> SHA256 Checksum OK for numptyphysics-0.3.r20090104.tar.bz2.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for numptyphysics-0.3.r20090104_9
===> Applying FreeBSD patches for numptyphysics-0.3.r20090104_9
===========================================================================
=======================<phase: build-depends >============================
===> numptyphysics-0.3.r20090104_9 depends on file: /usr/local/bin/sdl-config - not found
===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz
[head-i386-default-job-04] Installing sdl-1.2.15_10,2...
[head-i386-default-job-04] `-- Installing aalib-1.4.r5_11...
[head-i386-default-job-04] | `-- Installing indexinfo-0.3.1...
[head-i386-default-job-04] | `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-04] `-- Extracting aalib-1.4.r5_11: .......... done
[head-i386-default-job-04] `-- Installing libGLU-9.0.0_3...
[head-i386-default-job-04] | `-- Installing mesa-libs-17.3.1...
[head-i386-default-job-04] | | `-- Installing expat-2.2.5...
[head-i386-default-job-04] | | `-- Extracting expat-2.2.5: .......... done
[head-i386-default-job-04] | | `-- Installing libX11-1.6.5,1...
[head-i386-default-job-04] | | `-- Installing kbproto-1.0.7...
[head-i386-default-job-04] | | `-- Extracting kbproto-1.0.7: .......... done
[head-i386-default-job-04] | | `-- Installing libXau-1.0.8_3...
[head-i386-default-job-04] | | | `-- Installing xproto-7.0.31...
[head-i386-default-job-04] | | | `-- Extracting xproto-7.0.31: .......... done
[head-i386-default-job-04] | | `-- Extracting libXau-1.0.8_3: .......... done
[head-i386-default-job-04] | | `-- Installing libXdmcp-1.1.2...
[head-i386-default-job-04] | | `-- Extracting libXdmcp-1.1.2: ......... done
[head-i386-default-job-04] | | `-- Installing libxcb-1.12_2...
[head-i386-default-job-04] | | | `-- Installing libpthread-stubs-0.4...
[head-i386-default-job-04] | | | `-- Extracting libpthread-stubs-0.4: . done
<snip>
^
In file included from Path.cpp:18:
In file included from ./Path.h:20:
In file included from ./Common.h:20:
In file included from Box2D/Include/Box2D.h:39:
Box2D/Include/../Source/Dynamics/b2WorldCallbacks.h:99:66: warning: expression result unused [-Wunused-value]
virtual void Persist(const b2ContactPoint* point) { B2_NOT_USED(point); }
^~~~~
Box2D/Include/../Source/Dynamics/../Common/b2Settings.h:25:24: note: expanded from macro 'B2_NOT_USED'
#define B2_NOT_USED(x) x
^
In file included from Path.cpp:18:
In file included from ./Path.h:20:
In file included from ./Common.h:20:
In file included from Box2D/Include/Box2D.h:39:
Box2D/Include/../Source/Dynamics/b2WorldCallbacks.h:103:65: warning: expression result unused [-Wunused-value]
virtual void Remove(const b2ContactPoint* point) { B2_NOT_USED(point); }
^~~~~
Box2D/Include/../Source/Dynamics/../Common/b2Settings.h:25:24: note: expanded from macro 'B2_NOT_USED'
#define B2_NOT_USED(x) x
^
In file included from Path.cpp:18:
In file included from ./Path.h:20:
In file included from ./Common.h:20:
In file included from Box2D/Include/Box2D.h:39:
Box2D/Include/../Source/Dynamics/b2WorldCallbacks.h:106:66: warning: expression result unused [-Wunused-value]
virtual void Result(const b2ContactResult* point) { B2_NOT_USED(point); }
^~~~~
Box2D/Include/../Source/Dynamics/../Common/b2Settings.h:25:24: note: expanded from macro 'B2_NOT_USED'
#define B2_NOT_USED(x) x
^
In file included from Path.cpp:18:
In file included from ./Path.h:20:
./Common.h:38:62: warning: self-comparison always evaluates to true [-Wtautological-compare]
bool operator==( const Vec2& o ) const { return x==o.x && y==y; }
^
5 warnings generated.
mv -f .deps/numptyphysics-Path.Tpo .deps/numptyphysics-Path.Po
c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"numptyphysics\" -DVERSION=\"0.3\" -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_LIBSDL= -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSTDC__=1 -DHAVE_LIBX11=1 -DHAVE_LIBZ=1 -I. -IBox2D/Include -IXX -I/usr/local/include -DINSTALL_BASE_PATH="\"/usr/local/share/numptyphysics\"" -O2 -pipe -fstack-protector -fno-strict-aliasing -MT numptyphysics-Canvas.o -MD -MP -MF .deps/numptyphysics-Canvas.Tpo -c -o numptyphysics-Canvas.o `test -f 'Canvas.cpp' || echo './'`Canvas.cpp
In file included from Canvas.cpp:18:
In file included from ./Common.h:20:
In file included from Box2D/Include/Box2D.h:39:
Box2D/Include/../Source/Dynamics/b2WorldCallbacks.h:95:62: warning: expression result unused [-Wunused-value]
virtual void Add(const b2ContactPoint* point) { B2_NOT_USED(point); }
^~~~~
Box2D/Include/../Source/Dynamics/../Common/b2Settings.h:25:24: note: expanded from macro 'B2_NOT_USED'
#define B2_NOT_USED(x) x
^
In file included from Canvas.cpp:18:
In file included from ./Common.h:20:
In file included from Box2D/Include/Box2D.h:39:
Box2D/Include/../Source/Dynamics/b2WorldCallbacks.h:99:66: warning: expression result unused [-Wunused-value]
virtual void Persist(const b2ContactPoint* point) { B2_NOT_USED(point); }
^~~~~
Box2D/Include/../Source/Dynamics/../Common/b2Settings.h:25:24: note: expanded from macro 'B2_NOT_USED'
#define B2_NOT_USED(x) x
^
In file included from Canvas.cpp:18:
In file included from ./Common.h:20:
In file included from Box2D/Include/Box2D.h:39:
Box2D/Include/../Source/Dynamics/b2WorldCallbacks.h:103:65: warning: expression result unused [-Wunused-value]
virtual void Remove(const b2ContactPoint* point) { B2_NOT_USED(point); }
^~~~~
Box2D/Include/../Source/Dynamics/../Common/b2Settings.h:25:24: note: expanded from macro 'B2_NOT_USED'
#define B2_NOT_USED(x) x
^
In file included from Canvas.cpp:18:
In file included from ./Common.h:20:
In file included from Box2D/Include/Box2D.h:39:
Box2D/Include/../Source/Dynamics/b2WorldCallbacks.h:106:66: warning: expression result unused [-Wunused-value]
virtual void Result(const b2ContactResult* point) { B2_NOT_USED(point); }
^~~~~
Box2D/Include/../Source/Dynamics/../Common/b2Settings.h:25:24: note: expanded from macro 'B2_NOT_USED'
#define B2_NOT_USED(x) x
^
In file included from Canvas.cpp:18:
./Common.h:38:62: warning: self-comparison always evaluates to true [-Wtautological-compare]
bool operator==( const Vec2& o ) const { return x==o.x && y==y; }
^
Canvas.cpp:404:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~
Canvas.cpp:404:26: note: insert an explicit cast to silence this issue
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~
static_cast<Sint16>( )
Canvas.cpp:404:34: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~
Canvas.cpp:404:34: note: insert an explicit cast to silence this issue
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~
static_cast<Sint16>( )
Canvas.cpp:404:42: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~~~~~~~~~~
Canvas.cpp:404:42: note: insert an explicit cast to silence this issue
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~~~~~~~~~~
static_cast<Uint16>( )
Canvas.cpp:404:59: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~~~~~~~~~~
Canvas.cpp:404:59: note: insert an explicit cast to silence this issue
SDL_Rect srcRect = { r.tl.x, r.tl.y, r.br.x-r.tl.x+1, r.br.y-r.tl.y+1 };
^~~~~~~~~~~~~~~
static_cast<Uint16>( )
Canvas.cpp:413:21: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect dest = { x, y, 0, 0 };
^
Canvas.cpp:413:21: note: insert an explicit cast to silence this issue
SDL_Rect dest = { x, y, 0, 0 };
^
static_cast<Sint16>( )
Canvas.cpp:413:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect dest = { x, y, 0, 0 };
^
Canvas.cpp:413:24: note: insert an explicit cast to silence this issue
SDL_Rect dest = { x, y, 0, 0 };
^
static_cast<Sint16>( )
Canvas.cpp:545:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect r = { x, y, w, h };
^
Canvas.cpp:545:20: note: insert an explicit cast to silence this issue
SDL_Rect r = { x, y, w, h };
^
static_cast<Sint16>( )
Canvas.cpp:545:23: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect r = { x, y, w, h };
^
Canvas.cpp:545:23: note: insert an explicit cast to silence this issue
SDL_Rect r = { x, y, w, h };
^
static_cast<Sint16>( )
Canvas.cpp:545:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
SDL_Rect r = { x, y, w, h };
^
Canvas.cpp:545:26: note: insert an explicit cast to silence this issue
SDL_Rect r = { x, y, w, h };
^
static_cast<Uint16>( )
Canvas.cpp:545:29: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
SDL_Rect r = { x, y, w, h };
^
Canvas.cpp:545:29: note: insert an explicit cast to silence this issue
SDL_Rect r = { x, y, w, h };
^
static_cast<Uint16>( )
Canvas.cpp:548:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect f = { x, y, w, h };
^
Canvas.cpp:548:20: note: insert an explicit cast to silence this issue
SDL_Rect f = { x, y, w, h };
^
static_cast<Sint16>( )
Canvas.cpp:548:23: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
SDL_Rect f = { x, y, w, h };
^
Canvas.cpp:548:23: note: insert an explicit cast to silence this issue
SDL_Rect f = { x, y, w, h };
^
static_cast<Sint16>( )
Canvas.cpp:548:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
SDL_Rect f = { x, y, w, h };
^
Canvas.cpp:548:26: note: insert an explicit cast to silence this issue
SDL_Rect f = { x, y, w, h };
^
static_cast<Uint16>( )
Canvas.cpp:548:29: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
SDL_Rect f = { x, y, w, h };
^
Canvas.cpp:548:29: note: insert an explicit cast to silence this issue
SDL_Rect f = { x, y, w, h };
^
static_cast<Uint16>( )
Canvas.cpp:718:40: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [-Wc++11-narrowing]
BMPHEADER head = { 'B'|('M'<<8), 14+40+w*h*3, 0, 0, 0 };
^~~~~~~~~~~
Canvas.cpp:718:40: note: insert an explicit cast to silence this issue
BMPHEADER head = { 'B'|('M'<<8), 14+40+w*h*3, 0, 0, 0 };
^~~~~~~~~~~
static_cast<unsigned int>( )
Canvas.cpp:719:46: error: non-constant-expression cannot be narrowed from type 'int' to 'unsigned int' in initializer list [-Wc++11-narrowing]
BMPINFOHEADER info = { 40, w, h, 1, 24, 0, w*h*3, 100, 100, 0, 0 };
^~~~~
Canvas.cpp:719:46: note: insert an explicit cast to silence this issue
BMPINFOHEADER info = { 40, w, h, 1, 24, 0, w*h*3, 100, 100, 0, 0 };
^~~~~
static_cast<unsigned int>( )
5 warnings and 16 errors generated.
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/games/numptyphysics/work/numptyphysics
*** Error code 1
Stop.
make: stopped in /usr/ports/games/numptyphysics
More information about the freebsd-pkg-fallout
mailing list