[flang-commits] [flang] [llvm] [flang] Try -Werror by default (take 2) (PR #175819)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Tue Jan 13 12:06:01 PST 2026


klausler wrote:

> `-Werror` should not be enabled by default in the build system. `-Werror` can only be enabled in environments with a known-good compiler, such as in CI. The LLVM project only aims for warning freedom when built with a recent Clang version.

This patch re-enables -Werror just for flang-new, which was always on by default until a few months ago.

https://github.com/llvm/llvm-project/pull/175819


More information about the flang-commits mailing list