Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-61081

Disable stringop-truncation and array-bounds warnings when building with GCC 11

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Development Platform
    • Dev Platform 2021-11-15, Dev Platform 2021-11-29, Dev Platform 2022-03-21

    Description

      We've had a few instances when using the toolchain v4 GCC 11 where small code changes have either caused the emergence of novel instances of these types of warnings, or where spooky local modifications have caused existing instances to disappear. Changing optimization levels also moves around where they seem to pop up. It isn't reasonable to expect developers to chase these down as they appear in the waterfall builders using GCC 11. For now, suppress these warnings globally when using GCC 11, and we will file a compensating ticket to pursue reenabling them.

      Attachments

        Activity

          People

            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: