[Rd] Build error with gcc 15

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Wed Jan 15 17:06:54 CET 2025


Dear R Core,

GCC 15 is already in Fedora rawhide, because it will be part of the next
release, Fedora 42. R 4.4.2 fails to build with the following error [1]:

> sys-std.c:1189:1: warning: ‘noreturn’ attribute ignored [-Wattributes]
>  1189 | void Rstd_CleanUp(SA_TYPE saveact, int status, int runLast)
>       | ^~~~
> sys-std.c:1189:1: error: expected identifier or ‘(’ before ‘void’

I've seen some references to this in the source code, so this may be fixed
in R devel. If this is the case, it would be great if you could provide a
patch that I can apply to v4.4.2 until the next R release (or maybe I
should just specify an older C standard?).

[1] https://kojipkgs.fedoraproject.org//work/tasks/6266/127896266/build.log

Best,
-- 
Iñaki Úcar

	[[alternative HTML version deleted]]



More information about the R-devel mailing list