Project

General

Profile

Actions

Bug #42472

closed

Ambigous bitset selection with FreeBSD libc++

Added by Willem Jan Withagen over 4 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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


Related issues 1 (0 open1 closed)

Is duplicate of rgw - Bug #42471: Ambigous bitset selection with FreeBSD libc++ResolvedWillem Jan Withagen

Actions
Actions #1

Updated by Willem Jan Withagen over 4 years ago

  • Assignee set to Willem Jan Withagen
Actions #2

Updated by Willem Jan Withagen over 4 years ago

  • Assignee deleted (Willem Jan Withagen)
Actions #3

Updated by Nathan Cutler over 4 years ago

  • Project changed from Ceph to rgw
  • Status changed from New to Duplicate
Actions #4

Updated by Nathan Cutler over 4 years ago

  • Is duplicate of Bug #42471: Ambigous bitset selection with FreeBSD libc++ added
Actions #5

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
Actions

Also available in: Atom PDF