Control: tags 1096730 upstream fixed-upstream On 2025-02-17 17:16:33 +0000, Matthias Klose wrote: > 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.
This was fixed upstream by the following commits: changeset: 18484:d66d66d82dbb user: Marc Glisse <[email protected]> date: Tue Apr 01 15:25:46 2025 +0200 summary: Add parameter names to function prototype changeset: 18477:8e7bb4ae7a18 user: Marc Glisse <[email protected]> date: Wed Jan 29 22:38:02 2025 +0100 summary: Complete function prototype in acinclude.m4 for C23 compatibility The 18477 one does --- a/acinclude.m4 Wed Dec 04 18:26:27 2024 +0100 +++ b/acinclude.m4 Wed Jan 29 22:38:02 2025 +0100 @@ -609,7 +609,7 @@ #if defined (__GNUC__) && ! defined (__cplusplus) typedef unsigned long long t1;typedef t1*t2; -void g(){} +void g(int,t1 const*,t1,t2,t1 const*,int){} void h(){} static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) {t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;} but old compilers do not support parameter name omission. So, for compatibility with all compilers, the 18484 commit added parameter names: --- a/acinclude.m4 Mon Feb 03 17:52:54 2025 +0100 +++ b/acinclude.m4 Tue Apr 01 15:25:46 2025 +0200 @@ -609,7 +609,7 @@ #if defined (__GNUC__) && ! defined (__cplusplus) typedef unsigned long long t1;typedef t1*t2; -void g(int,t1 const*,t1,t2,t1 const*,int){} +void g(int a,t1 const*b,t1 c,t2 d,t1 const*e,int f){} void h(){} static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0) {t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;} -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon) -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
