All of lore.kernel.org
 help / color / mirror / Atom feed
* Glang: Still compiling HEAD with a hack in test_mempool.c
@ 2017-02-07 16:00 Willem Jan Withagen
  0 siblings, 0 replies; only message in thread
From: Willem Jan Withagen @ 2017-02-07 16:00 UTC (permalink / raw)
  To: Ceph Development

Hi,

This is on FreeBSD.

I'm cleaning up patches that I have in Jenkins to actually build and
test HEAD, so I can prepare the submission of a FreeBSD port.

And it complains on things like:
	mempool::unittest_1::map<int,int> v;
or
	mempool::unittest_2::unordered_map<int,obj> h;

Any suggestions on how to fix this.

Thanx,
--WjW

[100%] Building CXX object
src/test/CMakeFiles/unittest_mempool.dir/test_mempool.cc.o
In file included from
/home/jenkins/workspace/ceph-master/src/test/test_mempool.cc:20:
In file included from
/home/jenkins/workspace/ceph-master/src/common/ceph_argparse.h:31:
In file included from
/home/jenkins/workspace/ceph-master/src/common/entity_name.h:22:
In file included from
/home/jenkins/workspace/ceph-master/src/include/encoding.h:25:
In file included from
/home/jenkins/workspace/ceph-master/src/include/denc.h:29:
/usr/include/c++/v1/map:820:5: error: static_assert failed
"Allocator::value_type must be same type as value_type"
    static_assert((is_same<typename allocator_type::value_type,
value_type>::value),
    ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jenkins/workspace/ceph-master/src/test/test_mempool.cc:235:39:
note: in instantiation of template class 'std::__1::map<int, int,
std::__1::less<int>,
mempool::pool_allocator<mempool::pool_index_t::mempool_unittest_1,
std::__1::pair<int, int> > >' requested here
    mempool::unittest_1::map<int,int> v;
                                      ^

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-07 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-07 16:00 Glang: Still compiling HEAD with a hack in test_mempool.c Willem Jan Withagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.