[SERVER-59233] Fix or suppress warnings when building with latest stable GCC and clang in C++17 mode Created: 10/Aug/21  Updated: 29/Oct/23  Resolved: 30/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-48076 implicit conversion from 'long long' ... Closed
depends on SERVER-48079 implicit conversion from 'long long' ... Closed
depends on SERVER-59098 implicit conversion from 'long long' ... Closed
depends on SERVER-59231 Create canary builders for latest sta... Closed
is depended on by SERVER-59234 Fix or suppress warnings when buildin... Closed
Backwards Compatibility: Fully Compatible
Sprint: Dev Platform 2021-09-06, Dev Platform 2021-09-20, Dev Platform 2021-10-04
Participants:

 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 30/Sep/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-59233 Address stringop and array bounds warnings with GCC 11
Branch: master
https://github.com/mongodb/mongo/commit/21327c2dee22aee10e7847059c43dbd7d1352654

Comment by Githook User [ 28/Sep/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-59233 Suppress ASIO nullptr dereference warning when using GCC 11
Branch: master
https://github.com/mongodb/mongo/commit/e5e1f54075866e768d91720d0ec8b584f14f7554

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-59233 Don't apply clang/gcc warning suppressions on Windows
Branch: master
https://github.com/mongodb/mongo/commit/8ea70d9b2ce06759735b99c45aef9c5a39f8a94c

Comment by Githook User [ 16/Sep/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-59233 Suppress some warnings in third-party code or its use
Branch: master
https://github.com/mongodb/mongo/commit/b14155d5714315ad771ba9bf07a7aae34a2f4405

Generated at Thu Feb 08 05:46:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.