[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.
- [Bug gold/27815] New: gold fails to build with latest GCC, msc at linux dot ibm.com, 2021/05/03
- [Bug gold/27815] gold fails to build with latest GCC, ccoutant at gmail dot com, 2021/05/05
- [Bug gold/27815] gold fails to build with latest GCC, msc at linux dot ibm.com, 2021/05/06
- [Bug gold/27815] gold fails to build with latest GCC,
hjl.tools at gmail dot com <=
- [Bug gold/27815] gold fails to build with latest GCC, cvs-commit at gcc dot gnu.org, 2021/05/22
- [Bug gold/27815] gold fails to build with latest GCC, amodra at gmail dot com, 2021/05/22
- [Bug gold/27815] gold fails to build with latest GCC, amodra at gmail dot com, 2021/05/22
- [Bug gold/27815] gold fails to build with latest GCC, cvs-commit at gcc dot gnu.org, 2021/05/25
- [Bug gold/27815] gold fails to build with latest GCC, amodra at gmail dot com, 2021/05/25