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

Unknown warning options '-Wno-class-memaccess' and '-Wno-maybe-uninitialized' on run_bazel_clang_tidy test suite.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Several flag warnings are being shown in run_bazel_clang_tidy test suite for Linux arm64 and x86:

      warning: unknown warning option '-Wno-class-memaccess'; did you mean '-Wno-class-varargs'? [-Wunknown-warning-option]
      warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] 

       

      Command:

      bazel build --verbose_failures --config=clang-tidy //src/mongo/... 

      These warnings should be removed.

            Assignee:
            patrice.arruda@mongodb.com Patrice Arruda
            Reporter:
            patrice.arruda@mongodb.com Patrice Arruda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: