[all-commits] [llvm/llvm-project] 617456: Do not build with Werror by default (Bazel build)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Nov 8 16:50:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6174568bdc7ceae2a191f1228de98891e860f254
      https://github.com/llvm/llvm-project/commit/6174568bdc7ceae2a191f1228de98891e860f254
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M utils/bazel/.bazelrc

  Log Message:
  -----------
  Do not build with Werror by default (Bazel build)

This seems like an anti-pattern to have -Werror on by default:
it is hostile to user as we can't ensure that all of the supported
platforms are warning-free, and any newer compiler could break the build
for a user who does not have a clear actionable way around it.

Reviewed By: GMNGeoffrey, kuhar

Differential Revision: https://reviews.llvm.org/D123481




More information about the All-commits mailing list