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