c23 is stricter than earlier standards Reproducible: Always Steps to Reproduce: emerge -1 =gcc-15.0.0_pre20241117 USE="X avif bmp connman drm eet elogind fontconfig fribidi gif glib gstreamer harfbuzz heif hyphen ibus ico jpeg2k jpegxl json nls opengl pdf pmaps postscript psd pulseaudio raw scim sdl sound svg system-lz4 tga tgv tiff tslib v4l vnc wayland webp xcf xim xpm xpresent zeroconf -dds -debug -doc (-efl-one) -examples -fbcon (-mono) -physics -systemd -unwind" LUA_SINGLE_TARGET="lua5-1 -luajit" emerge -1 =dev-libs/efl-1.27.0-r1 Actual Results: ./efl-1.27.0/src/static_libs/rg_etc/rg_etc1.h:6:23: error: two or more data types in declaration specifiers 6 | typedef unsigned char bool; | ^~~~ ../efl-1.27.0/src/static_libs/rg_etc/rg_etc1.h:6:1: warning: useless type name in empty declaration 6 | typedef unsigned char bool; | ^~~~~~~ builds successfully with CFLAGS="${CFLAGS} -std=gnu17"
Created attachment 910909 [details] emerge --info
Created attachment 910910 [details] build fail log
*** Bug 955657 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92b5fda113c39a1a7480cc88ffcaebf7bb90d08 commit a92b5fda113c39a1a7480cc88ffcaebf7bb90d08 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2025-05-11 06:50:02 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2025-05-11 06:52:17 +0000 dev-libs/efl: build 1.28.1 with -std=gnu17 for now - while upstream is aware and working on gcc-15 fixes, we need a working solution right now as gcc-15 is in ~testing. Closes: https://bugs.gentoo.org/944215 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/efl/efl-1.28.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+)