Hi Akim,

> > g++ is version 4.8.2.
> 
> That's a real portability issue: GCC 4.8 supports to_string on GNU/Linux.

Indeed. But not on Solaris...

> commit 9114b267a8abbfa593848b3daa73aa72f65c8fbe
> Author: Akim Demaille <akim.demai...@gmail.com>
> Date:   Mon May 20 06:27:55 2019 +0200
> 
>     c++: beware of to_string portability issues
>     
>     Reported by Bruno Haible.
>     http://lists.gnu.org/archive/html/bug-bison/2019-05/msg00033.html
>     
>     * m4/bison-cxx-std.m4 (_BISON_CXXSTD_11_snippet): Check it.

Your patch fixes the issue. Tested through the 3.4.1 tarball. Thanks!

Bruno


Reply via email to