[SERVER-77462] Complete TODO listed in SERVER-60151 Created: 25/May/23  Updated: 06/Jun/23

Status: In Progress
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Juan Gu
Resolution: Unresolved Votes: 0
Labels: autogen-todo
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-60151 Remove application of C++20 deprecati... Closed
Participants:

 Description   

There is a TODO in the codebase referencing a resolved ticket which is assigned to you.

Please follow this link to see the lines of code referencing this resolved ticket:
https://github.com/mongodb/mongo/search?q=SERVER-60151&type=Code

The next steps for this ticket are to either remove the outdated TODO or follow the steps in the TODO if it is correct. If the latter, please update the summary and description of this ticket to represent the work you're actually doing.



 Comments   
Comment by Juan Gu [ 06/Jun/23 ]

we want to  remove "_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS" flag based on this ticket.
The usage of atomic_xxxxx has caused deprecated warning messages in C+20. In some places, we need to use the C+20 feature of atomic shared_ptr. However, this usage is only supported since GCC 12.1, and our current GCC version is 11.3.

Here is the link for anyone interested

Atomic shared_ptr P0718R2 12.1 __cpp_lib_atomic_shared_ptr >= 201711L
Comment by Alex Neben [ 06/Jun/23 ]

juan.gu@mongodb.com can you add a comment here about the branch where this is and why we cannot do it.

Generated at Thu Feb 08 06:35:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.