Actions
Bug #35833
closederror: 'unique_ptr' in namespace 'std' does not name a type when compiling librados client program on Centos 7
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We should be able to compile a librados client program, such as examples/librados/hello_world.cc, on a system with librados-devel (or librados-dev) installed but currently it fails.
# g++ -g -std=c++11 -o hello_world hello_world.cc -lrados In file included from hello_world.cc:14:0: /usr/include/rados/librados.hpp:1298:5: error: 'unique_ptr' in namespace 'std' does not name a type std::unique_ptr<PlacementGroupImpl> impl; ^
Seems there may have been a subtle change in header includes.
Actions