[SERVER-61388] Fix warnings when building with experimental optimizations and GCC 11 Created: 10/Nov/21  Updated: 27/Oct/23  Resolved: 27/Oct/23

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Participants:

 Description   

GCC 11 throws some apparently false-positive warnings about unintialized state and string-op truncation when building the server codebase at higher optimization levels. In SERVER-60712 we added builders that enable these optimizations, but we set --disable-warnings-as-errors for the GCC builders to work around this issue. We need to remove that setting and understand whether these are true or false positives, and find a way to work around them so we can remove that flag on the affected builders.


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