Closed wenqing closed 4 days ago
Should gcc 14 be added to the CI matrix?
Thanks!
Should gcc 14 be added to the CI matrix?
Oh, yes.
Sorry looks like I was too fast.
But: Maybe it's not actually GCC 14 specific? But related to what other includes are in user code?
What I mean: What's really missing is automatic checks for IWYU correctness. (I think it's a difficult project to add that.)
What I mean: What's really missing is automatic checks for IWYU correctness. (I think it's a difficult project to add that.)
Makes sense
If someone wants to work on IWYU, this is what we use Google-internally:
https://github.com/google/pybind11k/pull/30113
I GUESS we could run https://clangd.llvm.org/design/include-cleaner under GHA. I never got a chance to look any deeper.
For completeness: Google-internally the pybind11 client code is kept IWYU clean, but pybind11 itself is not. (That would have to happen here.)
Description
Fixes #5206, which is caused by a missed header
algorithm
.Suggested changelog entry: