Disable third-party Clang sign-conversion warnings

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1023
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Fully Compatible
    • Build OnDeck
    • None
    • None
    • None
    • None
    • None
    • None
    • None

        1. Summary

      Enable `-Wno-sign-conversion` and `-Wno-deprecate-lax-vec-conv-all` in the shared Clang third-party warning group in `bazel/toolchains/cc/mongo_linux/mongo_linux_cc_toolchain_config.bzl`. The waterfall native PPC64LE release path uses Clang while the suppressions were previously limited to PPC64LE cross toolchains, so Abseil's `unscaledcycleclock.cc` conversion became an error under `-Werror`. This keeps third-party warning policy consistent across supported targets without changing first-party warnings.

        1. Testing
      • `bazel run format`
      • `buildifier -mode=check bazel/toolchains/cc/mongo_linux/mongo_linux_cc_toolchain_config.bzl`

            Assignee:
            Daniel Moody
            Reporter:
            Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: