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

Remove application of C++20 deprecation suppressions

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Server Development Platform
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: