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

Fix debug gcc 11 and clang 12 builds on Fedora 34

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2021-06-28

      1. gcc 11 is unhappy with -Wno-exceptions set on C files. While it can be changed to localized only to C++ files, the flag is no longer needed as it works around a bug that no longer exists.

      2. src/mongo/db/query/plan_summary_stats.h is missing an include for <optional>

      3. src/mongo/util/shim_boost_assert.cpp is missing an include for <exception>

       

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: