|
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:41 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32372 --- Comment #6 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=8ebe62f3f0d27806b1bf69f301f5e188b4acd2b4 commit 8ebe62f3f0d27806b1bf69f301f5e188b4acd2b4 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. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |