Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944215 - =dev-libs/efl-1.27.0-r1 fails with c23/gcc-15.0.0_pre20241117: rg_etc1.h:6:23: error: two or more data types in declaration specifiers
Summary: =dev-libs/efl-1.27.0-r1 fails with c23/gcc-15.0.0_pre20241117: rg_etc1.h:6:23...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 05:03 UTC by tdr
Modified: 2024-11-21 05:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (tdr-emerge--info.txt,6.30 KB, text/plain)
2024-11-21 05:04 UTC, tdr
Details
build fail log (efl-1.27.0-r1.build.log,382.38 KB, text/plain)
2024-11-21 05:05 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-11-21 05:03:53 UTC
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"
Comment 1 tdr 2024-11-21 05:04:33 UTC
Created attachment 910909 [details]
emerge --info
Comment 2 tdr 2024-11-21 05:05:06 UTC
Created attachment 910910 [details]
build fail log