This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gold incremental.cc gcc-9 compiler error
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Tulio Magno Quites Machado Filho <tuliom at ascii dot art dot br>, Binutils <binutils at sourceware dot org>
- Date: Mon, 9 Jul 2018 16:04:11 -0700
- Subject: Re: gold incremental.cc gcc-9 compiler error
- References: <20180601045655.GV23663@bubble.grove.modra.org> <20180601103206.GB7660@bubble.grove.modra.org> <CAJimCsE0Twif9W0SBGjE0VwBNM3gcFnMMEUDyBUV4PG_aNA15Q@mail.gmail.com> <CAJimCsHitz3NXF-daE7gSEV2Fgi0q6YS9uHWnX=Vd6GffbQSow@mail.gmail.com> <8736wwt8ms.fsf@linux.ibm.com> <CAJimCsHa+s+Qv3oNUHb7-rGUp5DFw8Z5suFNPb-=PMdfRp8Kqg@mail.gmail.com> <20180709074844.GB3373@bubble.grove.modra.org>
> I think the default went from c++98 to c++14 in gcc-6.1 (well, the gnu
> variants). Perhaps test __cplusplus >= 201103L instead of __GNUC__?
Good idea, thanks! That's what I'll do.
-cary