Fix warnings when building with experimental optimizations and GCC 11

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: