gold incremental.cc gcc-9 compiler error
Alan Modra
amodra@gmail.com
Mon Jul 9 07:49:00 GMT 2018
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
More information about the Binutils
mailing list