bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/32372] binutils fails to build with GCC trunk (defaults to -std=


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:45 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32372

--- Comment #12 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=74401db8de037bd109f06ddd93155c0d081f092e

commit 74401db8de037bd109f06ddd93155c0d081f092e
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.

    (cherry picked from commit eeff15bc88b89abed1cdb4d3b1b2cc7b4cec6fe7)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]