https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-block/mtx-1.3.12 fails to compile. Discovered on: amd64 (internal ref: gcc15_tinderbox) System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Created attachment 909712 [details] build.log build log and emerge --info
I ran into this today using gcc-15.0.1_pre20250209; the error is slightly different but probably the same: In file included from mtxl.c:29: mtx.h:225:16: error: cannot use keyword ‘false’ as enumeration constant 225 | typedef enum { false, true } boolean; | ^~~~~ mtx.h:225:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards In file included from scsitape.c:42: mtx.h:225:16: error: cannot use keyword ‘false’ as enumeration constant 225 | typedef enum { false, true } boolean; | ^~~~~ In file included from tapeinfo.c:51: mtx.h:225:16: error: cannot use keyword ‘false’ as enumeration constant 225 | typedef enum { false, true } boolean; | ^~~~~ mtx.h:225:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards mtx.h:225:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards In file included from mtx.c:39: mtx.h:225:16: error: cannot use keyword ‘false’ as enumeration constant 225 | typedef enum { false, true } boolean; | ^~~~~ mtx.h:225:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards In file included from loaderinfo.c:40: mtx.h:225:16: error: cannot use keyword ‘false’ as enumeration constant 225 | typedef enum { false, true } boolean; | ^~~~~ mtx.h:225:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards In file included from scsieject.c:25: mtx.h:225:16: error: cannot use keyword ‘false’ as enumeration constant 225 | typedef enum { false, true } boolean; | ^~~~~ mtx.h:225:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards
Created attachment 918803 [details] emerge --info
Created attachment 918804 [details] build fail log 12 feb 2025