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

Disable -Wdeprecated-builtins

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2022-12-12, Security 2022-12-26, Security 2023-01-09, Security 2023-01-23, Security 2023-02-06

      Abseil uses __has_trivial_destructor which is deprecated in Clang 15. We should disable this warning until SERVER-58675 is complete as I believe this has been fixed upstream.

      ...
      In file included from src/mongo/stdx/trusted_hasher.h:34:
      In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/hash_function_defaults.h:55:
      In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/hash.h:76:
      In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/hash/internal/hash.h:44:
      In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/fixed_array.h:50:
      In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/container/internal/compressed_tuple.h:40:
      In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/utility/utility.h:50:
      In file included from src/third_party/abseil-cpp-master/abseil-cpp/absl/base/internal/invoke.h:42:
      src/third_party/abseil-cpp-master/abseil-cpp/absl/meta/type_traits.h:293:36: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
          : std::integral_constant<bool, __has_trivial_destructor(T) &&
      

            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: