[Bug libstdc++/52015] std::to_string does not work under MinGW
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 23 13:11:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-23 13:10:40 UTC ---
(In reply to comment #9)
> Created attachment 28191 [details]
> Enabling string conversion functions in MinGW
>
> Patch from: http://tehsausage.com/mingw-to-string
That's a zip file, not a patch. I've fixed the attachment details.
Maybe tehsausage's alternative implementations could be used under different
names so they don't replace the system functions, and have mingw use those
alternative names. The changes don't look significant enough to need a
copyright assignment/disclaimer anyway, they just forward from one function to
another.
The configure check that sets _GLIBCXX_HAVE_BROKEN_VSWPRINTF could check for
working _vsnwprintf and make that usable instead.
More information about the Gcc-bugs
mailing list