bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cannot build bison-3.3.90 on Solaris 11.3: ‘to_string’ is not a memb


From: Bruno Haible
Subject: Re: cannot build bison-3.3.90 on Solaris 11.3: ‘to_string’ is not a member of ‘std’
Date: Thu, 30 May 2019 20:12:10 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; )

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 <address@hidden>
> 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

[Prev in Thread] Current Thread [Next in Thread]