[clang] [clang-tools-extra] [compiler-rt] [lldb] [Clang] [Sema] Make `-Wincompatible-pointer-types` an error by default (PR #157364)

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 15 10:50:34 PDT 2025


asb wrote:

> Looks like this is causing errors in llvm-testsuite, but I’m candidly not sure how this is usually handled: https://lab.llvm.org/buildbot/#/builders/210/builds/2746

I think we'll want to add `-Wno-incompatible-pointer-types` to the relevant CMakeLists.txt. As an example, we can see @AaronBallman making such changes around https://github.com/llvm/llvm-test-suite/commits/099fc20d7e352f51d7c76a5d89fecbd15d7fae5e for the `-Wimplicit-int` change.

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


More information about the llvm-commits mailing list