gcc-15.0.0_pre20241117 default to using -std=gnu23 (stricter) prototype mismatch Reproducible: Always Steps to Reproduce: emerge =gcc-15.0.0_pre20241117 emerge =app-arch:zip-3.0-r7 Actual Results: unix/unix.c:70:14: error: conflicting types for ‘DIR’; have ‘FILE’ 70 | typedef FILE DIR; | ^~~ In file included from unix/unix.c:29: /usr/include/dirent.h:127:28: note: previous declaration of ‘DIR’ with type ‘DIR’ 127 | typedef struct __dirstream DIR; | ^~~ unix/unix.c: In function ‘readdir’: unix/unix.c:79:6: error: argument ‘dirp’ doesn’t match prototype 79 | DIR *dirp; | ^~~~ In file included from /usr/include/features.h:511, from /usr/include/sys/types.h:25, from ./unix/osdep.h:30, from ./tailor.h:93, from ./zip.h:88, from unix/unix.c:11: /usr/include/dirent.h:167:23: error: prototype declaration 167 | extern struct dirent *__REDIRECT (readdir, (DIR *__dirp), readdir64) | ^~~~~~~~~~ unix/unix.c: In function ‘readd’: works with gcc:15.0.0_pre20241110
Created attachment 908943 [details] emerge --info
Created attachment 908944 [details] build failure log
*** Bug 944041 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=a1fd2801b201f00cc014fb8a59bc32baad8e110a commit a1fd2801b201f00cc014fb8a59bc32baad8e110a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-24 23:25:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-24 23:25:52 +0000 app-arch/zip: build all configure tests w/ gnu89 too Closes: https://bugs.gentoo.org/943727 Signed-off-by: Sam James <sam@gentoo.org> app-arch/zip/zip-3.0-r7.ebuild | 2 ++ 1 file changed, 2 insertions(+)