This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gold incremental.cc gcc-9 compiler error


On Sun, Jul 08, 2018 at 06:58:09PM -0700, Cary Coutant wrote:
> Hmmm, according to:
> 
> https://gcc.gnu.org/projects/cxx-status.html#cxx11
> 
> GCC 4.8.1 is feature complete for C++ 11, so 5.4 should be fine. If
> you compile with -std=c++11, does it compile clean? I guess I may need
> to add that flag.
> 
> Does anyone know the earliest version of GCC that supports C++11
> features by default?

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__?

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]