|
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:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32372 --- Comment #11 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=3a88870559ff297dd3d11abacbfc2b5a1bda5f3e commit 3a88870559ff297dd3d11abacbfc2b5a1bda5f3e Author: Sam James <sam@gentoo.org> Date: Sat Nov 16 05:03:52 2024 +0000 opcodes: fix -std=gnu23 compatibility wrt static_assert static_assert is declared in C23 so we can't reuse that identifier: * Define our own static_assert conditionally; * Rename "static assert" hacks to _N as we do already in some places to avoid a conflict. ChangeLog: PR ld/32372 * i386-gen.c (static_assert): Define conditionally. * mips-formats.h (MAPPED_INT): Rename identifier. (MAPPED_REG): Rename identifier. (OPTIONAL_MAPPED_REG): Rename identifier. * s390-opc.c (static_assert): Define conditionally. (cherry picked from commit 8ebe62f3f0d27806b1bf69f301f5e188b4acd2b4) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |