Clang complains about mismatiching types.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux