|
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: | Tue, 19 Nov 2024 06:41:51 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32372 --- Comment #13 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The binutils-2_43-branch branch has been updated by Sam James <sjames@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=059f36543368d24075018354eb8454a952aff96b commit 059f36543368d24075018354eb8454a952aff96b Author: Sam James <sam@gentoo.org> Date: Sat Nov 16 07:07:02 2024 +0000 ld: 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 * pdb.c (add_stream): Return NULL. (cherry picked from commit bf447eec6d7b69cba652127e2f38f102de38de39) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |