bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/27815] gold fails to build with latest GCC


From: hjl.tools at gmail dot com
Subject: [Bug gold/27815] gold fails to build with latest GCC
Date: Thu, 06 May 2021 13:59:22 +0000

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Cary Coutant from comment #1)
> I haven't had the chance to build a new-enough GCC to test, but it looks
> like the proper fix is to use nullptr instead of NULL. Does that sound
> right? That would require that I raise the minimum version of GCC that can
> build gold from 4.1.3 to at least 4.6. I'm not sure if anyone needs to build
> with such an old version, but if so, maybe I could just use a static cast
> here.

For GCC 12 or newer, use nullptr.  Otherwise, use NULL.

-- 
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]