This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/52015] std::to_string does not work under MinGW
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Oct 2012 13:10:40 +0000
- Subject: [Bug libstdc++/52015] std::to_string does not work under MinGW
- Auto-submitted: auto-generated
- References: <bug-52015-4@http.gcc.gnu.org/bugzilla/>
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.