[Mlir-commits] [mlir] [mlir][py] Don't use a CMake iteration to find nanobind target to suppress warnings (NFC) (PR #143863)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Mar 8 22:44:05 PDT 2026


hpkfft wrote:

If you're using a recent version of nanobind, some of the `-Wno....` can be removed.
For example, I know `-Wno-nested-anon-types` and `-Wno-zero-length-array` have been fixed upstream in nanobind, so these warnings can be re-enabled.
I think the extra semicolons have been removed upstream as well.  (If not let me know, and I'm happy to make a PR.)

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


More information about the Mlir-commits mailing list