[flang-commits] [flang] [flang] Fix one legitimate warning found with -Werror (PR #175819)

Aiden Grossman via flang-commits flang-commits at lists.llvm.org
Tue Jan 13 13:36:28 PST 2026


boomanaiden154 wrote:

> I'm surprised to hear that -Werror is on for pre-merge CI of flang-new; it hasn't worked for me in my extremely plain vanilla Linux development environments since late September, until I started cleaning up some warnings recently so that I could re-enable -Werror locally.

Using the most recent clang for the system compiler? We enable it here: https://github.com/llvm/llvm-project/blob/6e0ef1cf74559023eb420624f280c52572e196d3/.ci/monolithic-linux.sh#L63

Not sure if `flang/` propagates `LLVM_ENABLE_WERROR` or not. If not, we should probably fix that.

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


More information about the flang-commits mailing list