c23 is stricter than previous standards Reproducible: Always Steps to Reproduce: emerge -v1 =gcc-15.0.0_pre20241117-r2 USE="ghostscript" emerge -1 =media-gfx/fig2dev-3.2.9-r5 Actual Results: mkfile.c:55:17: error: too many arguments to function ‘putfig’ 55 | putfig(mk, box, altfonts, NULL, NULL, a->m, NULL, i, "tex"); | ^~~~~~ mkfile.c:21:6: note: declared here 21 | void putfig(); | ^~~~~~ mkfile.c:84:17: error: too many arguments to function ‘putfig’ 84 | putfig(mk, to, altfonts, a->f, a->s, a->m, a->o, i, lname[(int)to]); | ^~~~~~ mkfile.c:21:6: note: declared here 21 | void putfig(); | ^~~~~~ mkfile.c:93:17: error: too many arguments to function ‘putfig’ 93 | putfig(mk, to, altfonts, a->f, a->s, a->m, a->o, i, "tex"); | ^~~~~~ mkfile.c:21:6: note: declared here 21 | void putfig(); | ^~~~~~ mkfile.c:98:17: error: too many arguments to function ‘putfig’ 98 | putfig(mk, latex, altfonts, a->f, a->s, a->m, a->o, i, "tex"); | ^~~~~~ mkfile.c:21:6: note: declared here 21 | void putfig(); | ^~~~~~ builds correctly with CFLAGS="${CFLAGS} -std=gnu17"
Created attachment 910513 [details] emerge --info
Created attachment 910514 [details] build failure log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93644497325b6df7a17f8bd05ad0495607aa5c34 commit 93644497325b6df7a17f8bd05ad0495607aa5c34 Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> AuthorDate: 2025-01-30 21:44:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-19 11:11:09 +0000 media-gfx/fig2dev: add 3.2.9a Closes: https://bugs.gentoo.org/944153 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam@gentoo.org> media-gfx/fig2dev/Manifest | 1 + media-gfx/fig2dev/fig2dev-3.2.9a.ebuild | 103 +++++++++++++++++++++ .../fig2dev/files/fig2dev-3.2.9a-prototypes.patch | 62 +++++++++++++ 3 files changed, 166 insertions(+)