Bug#1097185: libfile-mmagic-xs-perl: ftbfs with GCC-15
Victor Seva
linuxmaniac at torreviejawireless.org
Tue Sep 16 19:11:13 BST 2025
Some improvement, after https://salsa.debian.org/perl-team/modules/packages/libfile-mmagic-xs-perl/-/commit/99b2c07833b7425e7ef552998503d7c54e1fe39b
I see less errors but sadly I don't know how to fix this one:
> src/MMagicST.c: In function ‘st_foreach’:
> src/MMagicST.c:488:1: warning: old-style function definition [-Wold-style-definition]
> 488 | st_foreach(table, func, arg)
> | ^~~~~~~~~~
> src/MMagicST.c:500:23: error: too many arguments to function ‘func’; expected 0, have 4
> 500 | retval = (*func)(ptr->key, ptr->record, arg, 0);
> | ~^~~~~~ ~~~~~~~~
> src/MMagicST.c:511:31: error: too many arguments to function ‘func’; expected 0, have 4
> 511 | retval = (*func)(0, 0, arg, 1);
> | ~^~~~~~ ~
> make[1]: *** [Makefile:354: src/MMagicST.o] Error 1
>
--
-----------------------------------------------------------------
| ⢀⣴⠾⠻⢶⣦⠀ Victor Seva |
| ⣾⠁⢠⠒⠀⣿⡁ linuxmaniac at torreviejawireless.org |
| ⢿⡄⠘⠷⠚⠋⠀PGP: 8F19 CADC D42A 42D4 5563 730C 51A0 9B18 CF5A 5068 |
| ⠈⠳⣄⠀⠀⠀ Debian Developer |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 285 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250916/8f1a4a56/attachment.sig>
More information about the pkg-perl-maintainers
mailing list