gcc-15.0.0_pre20241117 default to using -std=gnu23 (stricter) multiple incompatible type Reproducible: Always Actual Results: control.c:152:23: error: passing argument 5 of 'scm_c_define_gsubr' from incompatible pointer type [-Wincompatible-pointer-types] 152 | scm_suspendable_continuation_p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct scm_unused_struct * (*)(struct scm_unused_struct *) In file included from control.c:29: gsubr.h:72:71: note: expected 'scm_t_subr' {aka 'struct scm_unused_struct * (*)(void)'} but argument is of type 'struct scm_unused_struct * (*)(struct scm_unused_struct *)' 72 | int req, int opt, int rst, scm_t_subr fcn); | ~~~~~~~~~~~^~~ make[3]: *** [Makefile:3145: libguile_3.0_la-control.lo] Error 1 works with gcc:15.0.0_pre20241110
Created attachment 908923 [details] emerge --info
Created attachment 908924 [details] failed build log
https://git.savannah.gnu.org/cgit/guile.git/commit/?id=c2e7d834c26dca39e0a2dc6784fc47814969817a
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ce84914c0b4827aeb9693a89950b598ed0fa15 commit f2ce84914c0b4827aeb9693a89950b598ed0fa15 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-26 02:45:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-26 02:55:23 +0000 dev-scheme/guile: fix C23 compat for 3.0.10 Closes: https://bugs.gentoo.org/943712 Signed-off-by: Sam James <sam@gentoo.org> dev-scheme/guile/files/guile-3.0.10-c23.patch | 32 +++++++++++++++++++++++++++ dev-scheme/guile/guile-3.0.10-r102.ebuild | 1 + 2 files changed, 33 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be86f0473bac479a77fb238d7259ddded7a5287 commit 4be86f0473bac479a77fb238d7259ddded7a5287 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-09 05:17:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-09 05:17:31 +0000 dev-scheme/guile: build 3.0.10-r102 w/ -std=gnu17 The fix from bug #944029 seems insufficient and master has changed a fair bit so I've not gone through commits to see if it's fixed there yet. Bug: https://bugs.gentoo.org/943712 Closes: https://bugs.gentoo.org/944029 Signed-off-by: Sam James <sam@gentoo.org> dev-scheme/guile/guile-3.0.10-r102.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)