On Mon, Feb 17, 2025 at 05:55:08PM +0000, Matthias Klose wrote:
> Package: src:staden
> Version: 2.0.0+b11-5
> Severity: important
> Tags: sid forky
> User: [email protected]
> Usertags: ftbfs-gcc-15
>...
> align.c:22:36: error: initialization of ‘void (*)(void)’ from incompatible 
> pointer type ‘void (*)(char *, FastInt (*)[6], int,  int,  char *, FastInt 
> (*)[6], int *, int *, FastInt *, int)’ {aka ‘void (*)(char *, int (*)[6], 
> int,  int,  char *, int (*)[6], int *, int *, int *, int)’} 
> [-Wincompatible-pointer-types]
>    22 |                                    expand_6,
>       |                                    ^~~~~~~~
> align.c:22:36: note: (near initialization for ‘expand_arr[2]’)
> align_lib_old.h:11:13: note: ‘expand_6’ declared here
>    11 | extern void expand_6(char *A, FastInt (*B)[6], int M, int N,
>       |             ^~~~~~~~
>...

I suggest you just do
  export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
in debian/rules, since it is not completely trivial to fix in this
old codebase.

The code will continue to work just as good (or bad?) as before.

cu
Adrian

Reply via email to