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

Remove application of C++20 deprecation suppressions

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Server Development Platform
    • Fully Compatible

    Description

      We need to apply -Wno-deprecation when using GCC 11 in C++20 mode so we can get across the transition around explicit capture of this, per https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100493.

      Once we are fully in C++20 mode, we should remove the suppression of deprecation warnings after either adding the now-required this where required, or by making the value capture lists explicit.

      Attachments

        Activity

          People

            juan.gu@mongodb.com Juan Gu
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: