|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/32372] binutils fails to build with GCC trunk (defaults to -std=gnu23) (bfd/elf64-ppc.c:4667:20: error: incompatible types when returning type ‘_Bool’ but ‘struct plt_entry **’ was expected) |
Date: | Mon, 18 Nov 2024 03:09:46 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32372 --- Comment #7 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sam James <sjames@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eeff15bc88b89abed1cdb4d3b1b2cc7b4cec6fe7 commit eeff15bc88b89abed1cdb4d3b1b2cc7b4cec6fe7 Author: Sam James <sam@gentoo.org> Date: Sat Nov 16 05:12:51 2024 +0000 binutils: fix -std=gnu23 compatibility wrt _Bool GCC trunk now defaults to -std=gnu23. We return false in a few places which can't work when true/false are a proper type (_Bool). Return NULL where appropriate instead of false. All callers handle this appropriately. ChangeLog: PR ld/32372 * prdbg.c (visibility_name): Return NULL. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |