Fix debug gcc 11 and clang 12 builds on Fedora 34

XMLWordPrintableJSON

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

      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
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: