c23 is stricter than previous versions incompatible type is being returned Reproducible: Always Actual Results: python/descriptor_pool.c: In function ‘PyUpb_DescriptorPool_AddSerializedFile’: python/descriptor_pool.c:268:12: error: incompatible types when returning type ‘_Bool’ but ‘PyObject *’ {aka ‘struct _object *’} was expected 268 | return false; | ^~~~~ python/descriptor_pool.c: In function ‘PyUpb_DescriptorPool_Add’: python/descriptor_pool.c:281:12: error: incompatible types when returning type ‘_Bool’ but ‘PyObject *’ {aka ‘struct _object *’} was expected 281 | return false; | ^~~~~ error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 * ERROR: dev-python/protobuf-5.28.0::gentoo failed (compile phase): * Wheel build failed builds with -std=gnu17 also builds with gcc:15.0.0_pre20241110
Created attachment 910399 [details] build failure log
Created attachment 910400 [details] emerge --info
commit 379ca097b966b40890b5a4572502b8f9352a374d Author: Sam James <sam@gentoo.org> Date: Tue Nov 19 12:05:42 2024 +0000 media-libs/cogl: build w/ -std=gnu17 Archived upstream. Closes: https://bugs.gentoo.org/943759 Signed-off-by: Sam James <sam@gentoo.org> *** This bug has been marked as a duplicate of bug 943759 ***