[pkg-gnupg-maint] Bug#1097574: pgpdump: ftbfs with GCC-15
Andreas Metzler
ametzler at bebt.de
Sun Feb 23 17:06:18 GMT 2025
On 2025-02-17 Matthias Klose <doko at debian.org> wrote:
> Package: src:pgpdump
[...]
> The package fails to build in a test rebuild on at least amd64 with
> gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
> severity of this report will be raised before the forky release.
[...]
> [...]
> pgpdump.h:153:13: note: ‘signer_user_id’ declared here
> 153 | public void signer_user_id(int);
> | ^~~~~~~~~~~~~~
> packet.c:233:9: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int)’ [-Wincompatible-pointer-types]
> 233 | reason_for_revocation,
> | ^~~~~~~~~~~~~~~~~~~~~
> packet.c:233:9: note: (near initialization for ‘sigsub_func[29]’)
> pgpdump.h:154:13: note: ‘reason_for_revocation’ declared here
> 154 | public void reason_for_revocation(int);
> | ^~~~~~~~~~~~~~~~~~~~~
This is probably already fixed in upstream git:
https://github.com/kazu-yamamoto/pgpdump/commit/541442dc04259bde680b46742522177be40cc065
| Fix C23 compatibility
| C23 removes unprototyped functions, so fix the function pointer type.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the pkg-gnupg-maint
mailing list