http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
Bug #: 52015
Summary: std::to_string does not work under MinGW
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: [email protected]
ReportedBy: [email protected]
The std::to_string functions are guarded by
!defined(_GLIBCXX_HAVE_BROKEN_VSWPRINTF). MinGW defines this symbol as 1 in its
os_defines.h, with a comment pointing to:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37522
That bug was marked as "resolved" over three years ago, but the fix was just to
add this guard, not to actually get the functions to work.
Can this be fixed so that the to_string functions work on MinGW?