]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: rgw_token.cc error: reference to 'formatter' is ambiguous 50099/head
authorKaleb S. KEITHLEY <kkeithle@redhat.com>
Mon, 13 Feb 2023 16:15:59 +0000 (11:15 -0500)
committerKaleb S. KEITHLEY <kkeithle@redhat.com>
Mon, 13 Feb 2023 16:15:59 +0000 (11:15 -0500)
commit7c84974ea21fa29c713b937b66e69527495e628d
tree63d15331edf62b6b70d5f8877b4db28117095e09
parenta9cbbba3388d0974456074429c7172cc26b85d74
rgw: rgw_token.cc error: reference to 'formatter' is ambiguous

compiling main branch on Fedora 38 and 39/rawhide with gcc-c++-13.0.1
fails with the error:

/builddir/build/BUILD/ceph-18.0.0-2148-g9754cafc/src/rgw/rgw_token.cc:
In function 'int main(int, char**)':
/builddir/build/BUILD/ceph-18.0.0-2148-g9754cafc/src/rgw/rgw_token.cc:125:3:
error: reference to 'formatter' is ambiguous
  125 | formatter = new JSONFormatter(true /* pretty */);
      |   ^~~~~~~~~

Similar error for src/test/test_rgw_token.cc

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
src/rgw/rgw_token.cc
src/test/test_rgw_token.cc