Actions
Bug #62203
opengcc-+12: FTBFS random_shuffle is deprecated: use 'std::shuffle' instead
% Done:
0%
Source:
Q/A
Tags:
backport_processed
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Description
https://jenkins.ceph.com/job/ceph-pull-requests/119026/
https://jenkins.ceph.com/job/ceph-pull-requests/119029/
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/TestOSDMap.cc:2352:16: error: 'random_shuffle<__gnu_cxx::__normal_iterator<unsigned int *, std::vector<unsigned int>>>' is deprecated: use 'std::shuffle' instead [-Werror,-Wdeprecated-declarations]
Reported by Leonid Usov.
Updated by Leonid Usov 9 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 52675
Updated by Patrick Donnelly 9 months ago
- Category set to build
- Status changed from Fix Under Review to Pending Backport
- Target version set to v19.0.0
- Source set to Q/A
- Backport set to reef
Updated by Backport Bot 9 months ago
- Copied to Backport #62275: reef: gcc-+12: FTBFS random_shuffle is deprecated: use 'std::shuffle' instead added
Updated by Casey Bodley 9 months ago
i don't think the use of gcc-12 was intended - i may be responsible for this regression by opening https://github.com/ceph/ceph/pull/52640. that would have enabled gcc-12 on any jenkins nodes that ran 'make check' against it
Updated by Casey Bodley 9 months ago
Casey Bodley wrote:
i don't think the use of gcc-12 was intended - i may be responsible for this regression by opening https://github.com/ceph/ceph/pull/52640. that would have enabled gcc-12 on any jenkins nodes that ran 'make check' against it
gcc-12 should now be removed from any jenkins nodes that had it unintentionally
Actions