Web lists-archives.com

[Mingw-users] 'to_string' is not a member of 'std'

I hit this problem today while building a pretest of GDB 8.0 with
MinGW.  The compilation errors out like this:

  cli/cli-script.c: In member function 'std::__cxx11::string user_args::insert_args(const char*) const':
  cli/cli-script.c:809:16: error: 'to_string' is not a member of 'std'
	new_line += std::to_string (m_args.size ());

It turns out this is an old issue:


Does anyone know whether the underlying issue with MinGW runtime is
resolved in the latest mingwrt?  If so, would it be possible to have
an updated distribution of gcc-g++-5.3.0-2-mingw32-bin to go with that
mingwrt fix, such that to_string will now be usable in MinGW builds?

If the runtime issue is not yet fixed, what would it take to fix it?


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe