Bug #42472
closedAmbigous bitset selection with FreeBSD libc++
0%
Description
During release FreeBSD package building on the build-cluster I get the following:
In file included from /wrkdirs/usr/ports/net/ceph14/work/ceph-14.2.4/src/cls/otp/cls_otp_client.cc:25:
In file included from /wrkdirs/usr/ports/net/ceph14/work/ceph-14.2.4/src/rgw/rgw_common.h:28:
/wrkdirs/usr/ports/net/ceph14/work/ceph-14.2.4/src/rgw/rgw_iam_policy.h:123:18: error: reference to 'bitset' is ambiguous
using Action_t = bitset<allCount>;
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::__1::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
^
1 error generated.
gmake3: * [src/cls/CMakeFiles/cls_otp_client.dir/build.make:66: src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o] Error 1
gmake3: Leaving directory '/wrkdirs/usr/ports/net/ceph14/work/.build'
gmake2: * [CMakeFiles/Makefile2:2418: src/cls/CMakeFiles/cls_otp_client.dir/all] Error 2
Fixing it by explicit selecting the namespace
Updated by Willem Jan Withagen over 4 years ago
- Assignee set to Willem Jan Withagen
Updated by Willem Jan Withagen over 4 years ago
- Assignee deleted (
Willem Jan Withagen)
Updated by Nathan Cutler over 4 years ago
- Project changed from Ceph to rgw
- Status changed from New to Duplicate
Updated by Nathan Cutler over 4 years ago
- Is duplicate of Bug #42471: Ambigous bitset selection with FreeBSD libc++ added
Updated by Nathan Cutler over 4 years ago
- Tracker changed from Backport to Bug
- % Done set to 0
- Regression set to No
- Severity set to 3 - minor