[Mingw-users] The std::to_string problem is back

Back to archive index
Eli Zaretskii eliz****@gnu*****
Sun Apr 28 23:24:07 JST 2019


> Date: Thu, 18 Apr 2019 22:04:20 +0300
> From: Eli Zaretskii <eliz****@gnu*****>
> 
> > From: Keith Marshall <keith****@users*****>
> > Date: Thu, 18 Apr 2019 19:27:24 +0100
> > 
> > >   #include <string>
> > >   int main() { std::to_string(10); }
> > > 
> > > compiles cleanly with MinGW GCC 7.3.0, but fails with GCC 8.2.0:
> >                                              ^^^^^^^^^^^^^^^^^^^^
> > 
> > Sorry, but I cannot reproduce this; that toy program compiles cleanly,
> > both with my production (Linux-hosted) mingw32-g++ cross-compiler, and
> > with a freshly installed (VirtualBox Win7 hosted) native g++-8.2.0:
> 
> Strange.  OK, I will take a closer look at my 8.2.0 installation.

It turned out I had GCC 8.2.0-2 installed.  Upgrading to 8.2.0-3 fixed
the problem.  Sorry for the noise.



More information about the MinGW-Users mailing list
Back to archive index