Closed thesamesam closed 8 months ago
Thanks for the report; #609 should fix it. I guess we should enable 32-bit build in our CI to catch this kind of problems.
Thank you! Yeah, that's a good idea. I haven't looked at your CI setup but I can look at doing that if you need me to.
The patch works for me, the quick response is really appreciated as going through quite a few of these.
Modern C compilers are becoming stricter with a variety of changes over the last year or so.
GCC 14 in particular (to be released in ~April 2024) fails to build p11-kit-0.25.3 like:
Originally reported downstream in Gentoo at https://bugs.gentoo.org/918982.
This can be emulated with
-Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion
on an older GCC or Clang.