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 |
| ⣾⠁⢠⠒⠀⣿⡁                     [email protected] |
| ⢿⡄⠘⠷⠚⠋⠀PGP: 8F19 CADC D42A 42D4 5563  730C 51A0 9B18 CF5A 5068 |
| ⠈⠳⣄⠀⠀⠀                                        Debian Developer |
  -----------------------------------------------------------------

Attachment: signature.asc
Description: PGP signature

Reply via email to