This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/52015] std::to_string does not work under MinGW


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]