[RELEASE - head-default] Build failed for loki-0.1.7 during build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Thu Aug 1 05:06:43 UTC 2013
Maintainer: snnn119 at gmail.com
Last committer: beat at FreeBSD.org
Ident: $FreeBSD: head/devel/loki/Makefile 300896 2012-07-14 13:54:48Z beat $
Log URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-08-01_04h04m49s/logs/loki-0.1.7.log
Build URL: http://beefy2.isc.freebsd.org/bulk/head-default/2013-08-01_04h04m49s
Log:
====>> Building devel/loki
build started at Thu Aug 1 05:06:25 UTC 2013
port directory: /usr/ports/devel/loki
building for: FreeBSD head-default-job-04 10.0-CURRENT FreeBSD 10.0-CURRENT amd64
maintained by: snnn119 at gmail.com
Makefile ident: $FreeBSD: head/devel/loki/Makefile 300896 2012-07-14 13:54:48Z beat $
Poudriere version: 3.1-pre
---Begin Environment---
OSVERSION=1000035
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-default/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=74882
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=loki-0.1.7
PKG_DELETE=/usr/local/sbin/pkg delete -y -f
PKG_ADD=/usr/local/sbin/pkg add
PWD=/root
MASTERNAME=head-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---
---Begin OPTIONS List---
---End OPTIONS List---
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
TMPDIR="/tmp" MAKE=gmake TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444"
--End MAKE_ENV--
--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/loki
DOCSDIR=/usr/local/share/doc/loki
EXAMPLESDIR=/usr/local/share/examples/loki
WWWDIR=/usr/local/www/loki
ETCDIR=/usr/local/etc/loki
--End SUB_LIST--
---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===> Cleaning for loki-0.1.7
=======================<phase: check-config >============================
=========================================================================
=======================<phase: pkg-depends >============================
===> loki-0.1.7 depends on file: /usr/local/sbin/pkg - not found
===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===> Installing existing package /packages/All/pkg-1.1.4_1.txz
Installing pkg-1.1.4_1... done
If you are upgrading from the old package format, first run:
# pkg2ng
===> Returning to build of loki-0.1.7
=========================================================================
=======================<phase: fetch-depends >============================
=========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by loki-0.1.7 for building
=========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by loki-0.1.7 for building
=> SHA256 Checksum OK for loki-0.1.7.tar.gz.
=========================================================================
=======================<phase: extract-depends>============================
=========================================================================
=======================<phase: extract >============================
===> Fetching all distfiles required by loki-0.1.7 for building
===> Extracting for loki-0.1.7
=> SHA256 Checksum OK for loki-0.1.7.tar.gz.
=========================================================================
=======================<phase: patch-depends >============================
=========================================================================
=======================<phase: patch >============================
===> Patching for loki-0.1.7
===> Converting DOS text files to UNIX text files
===> Applying FreeBSD patches for loki-0.1.7
=========================================================================
=======================<phase: build-depends >============================
===> loki-0.1.7 depends on executable: gmake - not found
===> Verifying install for gmake in /usr/ports/devel/gmake
===> Installing existing package /packages/All/gmake-3.82_1.txz
Installing gmake-3.82_1...Installing gettext-0.18.3...Installing libiconv-1.14_1... done
done
done
===> Returning to build of loki-0.1.7
=========================================================================
=======================<phase: lib-depends >============================
=========================================================================
=======================<phase: configure >============================
===> Configuring for loki-0.1.7
=========================================================================
=======================<phase: build >============================
===> Building for loki-0.1.7
gmake -C src build-static
gmake[1]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
c++ -MM -MT SmartPtr.lo -I../include -DNDEBUG SmartPtr.cpp > .shared-dep/SmartPtr.dep
c++ -MM -MT StrongPtr.lo -I../include -DNDEBUG StrongPtr.cpp > .shared-dep/StrongPtr.dep
c++ -MM -MT SmallObj.lo -I../include -DNDEBUG SmallObj.cpp > .shared-dep/SmallObj.dep
c++ -MM -MT OrderedStatic.lo -I../include -DNDEBUG OrderedStatic.cpp > .shared-dep/OrderedStatic.dep
c++ -MM -MT SafeFormat.lo -I../include -DNDEBUG SafeFormat.cpp > .shared-dep/SafeFormat.dep
c++ -MM -MT LevelMutex.lo -I../include -DNDEBUG LevelMutex.cpp > .shared-dep/LevelMutex.dep
c++ -MM -MT Singleton.lo -I../include -DNDEBUG Singleton.cpp > .shared-dep/Singleton.dep
c++ -MM -MT SmartPtr.o -I../include -DNDEBUG SmartPtr.cpp > .static-dep/SmartPtr.dep
c++ -MM -MT StrongPtr.o -I../include -DNDEBUG StrongPtr.cpp > .static-dep/StrongPtr.dep
c++ -MM -MT SmallObj.o -I../include -DNDEBUG SmallObj.cpp > .static-dep/SmallObj.dep
c++ -MM -MT OrderedStatic.o -I../include -DNDEBUG OrderedStatic.cpp > .static-dep/OrderedStatic.dep
c++ -MM -MT SafeFormat.o -I../include -DNDEBUG SafeFormat.cpp > .static-dep/SafeFormat.dep
c++ -MM -MT LevelMutex.o -I../include -DNDEBUG LevelMutex.cpp > .static-dep/LevelMutex.dep
c++ -MM -MT Singleton.o -I../include -DNDEBUG Singleton.cpp > .static-dep/Singleton.dep
gmake[1]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
gmake[1]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../include -DNDEBUG -c -o Singleton.o Singleton.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../include -DNDEBUG -c -o LevelMutex.o LevelMutex.cpp
In file included from LevelMutex.cpp:25:
./include/loki/LevelMutex.h:837:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:837:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
^~~~~~~ ~
./include/loki/LevelMutex.h:933:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:933:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
^~~~~~~ ~
LevelMutex.cpp:186:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
LevelMutex.cpp:320:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
LevelMutex.cpp:403:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
LevelMutex.cpp:493:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
8 warnings generated.
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../include -DNDEBUG -c -o SafeFormat.o SafeFormat.cpp
SafeFormat.cpp:27:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
::std::fwrite(from, 1, to - from, f);
~~ ~~~^~~~~~
1 warning generated.
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../include -DNDEBUG -c -o OrderedStatic.o OrderedStatic.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../include -DNDEBUG -c -o SmallObj.o SmallObj.cpp
SmallObj.cpp:381:21: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
( toRelease - pData_ ) / blockSize);
~~~~~~~~~~^~~~~~~~ ~
SmallObj.cpp:514:17: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
( place - pData_ ) / blockSize );
~~~~~~^~~~~~~~ ~
2 warnings generated.
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../include -DNDEBUG -c -o StrongPtr.o StrongPtr.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../include -DNDEBUG -c -o SmartPtr.o SmartPtr.cpp
ar rv ../lib/libloki.a Singleton.o LevelMutex.o SafeFormat.o OrderedStatic.o SmallObj.o StrongPtr.o SmartPtr.o
ar: warning: creating ../lib/libloki.a
a - Singleton.o
a - LevelMutex.o
a - SafeFormat.o
a - OrderedStatic.o
a - SmallObj.o
a - StrongPtr.o
a - SmartPtr.o
gmake[1]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
gmake -C src build-shared
gmake[1]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -I../include -DNDEBUG -o Singleton.lo Singleton.cpp
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -I../include -DNDEBUG -o LevelMutex.lo LevelMutex.cpp
In file included from LevelMutex.cpp:25:
./include/loki/LevelMutex.h:837:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:837:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
^~~~~~~ ~
./include/loki/LevelMutex.h:933:35: warning: implicit conversion changes signedness: 'unsigned int' to 'clock_t' (aka 'int') [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
~~~~~~~ ~~~~~~~~^~~~~~~~~~~~~~
./include/loki/LevelMutex.h:933:27: warning: implicit conversion changes signedness: 'clock_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
clock_t timeOut = clock() + milliSeconds;
^~~~~~~ ~
LevelMutex.cpp:186:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
LevelMutex.cpp:320:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
LevelMutex.cpp:403:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
LevelMutex.cpp:493:32: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'const unsigned int' [-Wshorten-64-to-32]
const unsigned int count = mutexes.size();
~~~~~ ^~~~~~~~~~~~~~
8 warnings generated.
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -I../include -DNDEBUG -o SafeFormat.lo SafeFormat.cpp
SafeFormat.cpp:27:35: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
::std::fwrite(from, 1, to - from, f);
~~ ~~~^~~~~~
1 warning generated.
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -I../include -DNDEBUG -o OrderedStatic.lo OrderedStatic.cpp
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -I../include -DNDEBUG -o SmallObj.lo SmallObj.cpp
SmallObj.cpp:381:21: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
( toRelease - pData_ ) / blockSize);
~~~~~~~~~~^~~~~~~~ ~
SmallObj.cpp:514:17: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
( place - pData_ ) / blockSize );
~~~~~~^~~~~~~~ ~
2 warnings generated.
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -I../include -DNDEBUG -o StrongPtr.lo StrongPtr.cpp
c++ -c -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -fPIC -I../include -DNDEBUG -o SmartPtr.lo SmartPtr.cpp
c++ --shared -Wl,-soname=libloki.so.0.1.7 -fPIC -o ../lib/libloki.so.0.1.7 Singleton.lo LevelMutex.lo SafeFormat.lo OrderedStatic.lo SmallObj.lo StrongPtr.lo SmartPtr.lo -lpthread
gmake[1]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/src'
gmake -C test
gmake[1]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test'
gmake -C Register
gmake[2]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Register'
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../../include -DNDEBUG -c -o main.o main.cpp
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../../include -DNDEBUG -c -o foo.o foo.cpp
ar rv libfoo.a foo.o
ar: warning: creating libfoo.a
a - foo.o
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -L. -I../../include -DNDEBUG -o main main.o ../../lib/libloki.a -lfoo
gmake[2]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/Register'
gmake -C LockingPtr
gmake[2]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
c++ -MM -MT main.lo -I../../include -DNDEBUG main.cpp > .shared-dep/main.dep
c++ -MM -MT main.o -I../../include -DNDEBUG main.cpp > .static-dep/main.dep
gmake[2]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
gmake[2]: Entering directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
c++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -g -O2 -I../../include -DNDEBUG -c -o main.o main.cpp
In file included from main.cpp:22:
In file included from ./Thread.h:17:
./../include/loki/Threads.h:505:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
LOKI_THREADS_ATOMIC_FUNCTIONS
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:254:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
return lval; \
^ ~~~~
./../include/loki/Threads.h:505:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
LOKI_THREADS_ATOMIC_FUNCTIONS
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:262:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
return lval; \
^ ~~~~
./../include/loki/Threads.h:590:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
LOKI_THREADS_ATOMIC_FUNCTIONS
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:254:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
return lval; \
^ ~~~~
./../include/loki/Threads.h:590:9: error: void function 'AtomicAssign' should not return a value [-Wreturn-type]
LOKI_THREADS_ATOMIC_FUNCTIONS
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../include/loki/Threads.h:262:13: note: expanded from macro 'LOKI_THREADS_ATOMIC_FUNCTIONS'
return lval; \
^ ~~~~
main.cpp:108:20: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
threads.at(i)->start();
~~~~~~~ ^
main.cpp:123:20: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
threads.at(i)->start();
~~~~~~~ ^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:366:42: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
memcpy(fmtBuf, fmt, (format_ - fmt) * sizeof(Char));
~~~~~~~~^~~~~ ~
./../include/loki/SafeFormat.h:163:13: note: in instantiation of function template specialization 'Loki::PrintfState<__sFILE *, char>::PrintUsing_snprintf<void *>' requested here
PrintUsing_snprintf(n,"p");
^
main.cpp:42:44: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
DO;Printf("%p: ----------------\n")(id);
^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:472:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
r += *format_ - '0';
~~ ~~~~~~~~~^~~~~
./../include/loki/SafeFormat.h:479:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ParseDecimalSizeT' requested here
ParseDecimalSizeT(width_);
^
./../include/loki/SafeFormat.h:498:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadWidth' requested here
ReadWidth();
^
./../include/loki/SafeFormat.h:353:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ReadLeaders' requested here
ReadLeaders();
^
./../include/loki/SafeFormat.h:163:13: note: in instantiation of function template specialization 'Loki::PrintfState<__sFILE *, char>::PrintUsing_snprintf<void *>' requested here
PrintUsing_snprintf(n,"p");
^
main.cpp:42:44: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
DO;Printf("%p: ----------------\n")(id);
^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:304:38: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
countDigits = bufEnd - bufLast,
~~~~~~~~~~~ ~~~~~~~^~~~~~~~~
./../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here
FormatWithCurrentFlags(i);
^
./../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
LOKI_PRINTF_STATE_FORWARD(signed int)
^
./../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD'
return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \
^
main.cpp:104:39: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
Printf("Creating thread %d\n")(i);
^
In file included from main.cpp:25:
./../include/loki/SafeFormat.h:526:43: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
void ResetFillZeros() { flags_ &= ~fillZeros; }
~~ ^~~~~~~~~~
./../include/loki/SafeFormat.h:282:17: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::ResetFillZeros' requested here
ResetFillZeros();
^
./../include/loki/SafeFormat.h:157:13: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::FormatWithCurrentFlags' requested here
FormatWithCurrentFlags(i);
^
./../include/loki/SafeFormat.h:115:9: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
LOKI_PRINTF_STATE_FORWARD(signed int)
^
./../include/loki/SafeFormat.h:106:24: note: expanded from macro 'LOKI_PRINTF_STATE_FORWARD'
return (*this)(static_cast< LOKI_SAFEFORMAT_UNSIGNED_LONG >(par)); \
^
main.cpp:104:39: note: in instantiation of member function 'Loki::PrintfState<__sFILE *, char>::operator()' requested here
Printf("Creating thread %d\n")(i);
^
6 warnings and 4 errors generated.
gmake[2]: *** [main.o] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test/LockingPtr'
gmake[1]: *** [LockingPtr] Error 2
gmake[1]: Leaving directory `/wrkdirs/usr/ports/devel/loki/work/loki-0.1.7/test'
gmake: *** [check] Error 2
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/loki
===> Cleaning for loki-0.1.7
More information about the freebsd-pkg-fallout
mailing list