Eli Zaretskii
2017-05-08 17:23:33 UTC
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
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?
Thanks.
------------------------------------------------------------------------------
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
MinGW-***@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
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?
Thanks.
------------------------------------------------------------------------------
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
MinGW-***@lists.sourceforge.net
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-***@lists.sourceforge.net?subject=unsubscribe