CEPH filesystem development
 help / color / mirror / Atom feed
* Clang complains about mismatiching types.
@ 2017-02-18 22:52 Willem Jan Withagen
  0 siblings, 0 replies; only message in thread
From: Willem Jan Withagen @ 2017-02-18 22:52 UTC (permalink / raw)
  To: Ceph Development, Sage Weil

I "fixed" the the bluestore inclusion, but hten still run into this type
mismatch in Clang.

--WjW

In file included from
/home/jenkins/workspace/ceph-master/src/osd/OSDMapMapping.cc:4:
In file included from
/home/jenkins/workspace/ceph-master/src/osd/OSDMapMapping.h:9:
/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/osd/OSDMapMapping.h:242:49:
note: in instantiation of template class 'std::__1::map<int,
OSDMapMapping::PoolMapping, std::__1::less<int>,
mempool::pool_allocator<mempool::pool_index_t::mempool_osdmap_mapping,
std::__1::pair<int, OSDMapMapping::PoolMapping> > >' requested here
  mempool::osdmap_mapping::map<int,PoolMapping> pools;
                                                ^
1 error generated.
gmake[2]: *** [src/CMakeFiles/common-objs.dir/build.make:1992:
src/CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target rbd_test_mock
[ 21%] Building CXX object src/librbd/CMakeFiles/rbd_api.dir/librbd.cc.o
[ 22%] Building CXX object
src/test/librbd/CMakeFiles/rbd_test.dir/test_fixture.cc.o
[ 22%] Linking

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

only message in thread, other threads:[~2017-02-20  0:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-18 22:52 Clang complains about mismatiching types Willem Jan Withagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox