Collin Funk wrote:
> The immediate fix that comes to mind is using 'g++ -std=gnu23', but
> there are 2 issues with this:
> 
>     1. gnulib/m4/std-gnu23.m4 has no code for C++ versions, because no
>     one interested in C++ has contributed it to Autoconf yet.
>     2. Bruno told me that the C++ standards are not compatible with each
>     other, so there would probably be more issues caused by the change
>     [1].
> 
> I have committed the two attached patches to Gnulib.

Thanks for the careful considerations.

> For MSVC, I will probably have to add C++ templates...

We need to test this manually, since the CI runs on GitHub are not
using the gnulib-tool --with-c++-tests.

Successfully tested with Solaris 10 CC, Oracle dev studio 12.6 CC,
AIX 7.1 xlC, MSVC 14. So, all is fine.

Bruno




Reply via email to