On Fri Jan 31 08:09:01 2025 +0000, eric pouech wrote:
if it's really from clang 21, and as clang 20 isn't even released yet, I think it's better to wait until it's released so that we settle on something stable
The major version was bumped in the last week: ``` clang --version clang version 21.0.0git (/mnt/ssd2/PKGBUILDs/llvm-mingw-toolchain-git/llvm-project 1fdf3340fbc8b6f2dcb3f63b9d6763933b3d3335) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/llvm-mingw/bin ```
Given that there's only these few extra warnings the compiler emits, it might be worth just updating the code than needing to silence the warnings (assuming these changes are correct).
In any case, it's unlikely that they (especially `-Wunused-function`) pointed to anything that caused a problem in practice.