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++/37522] [4.4 regression] Incorrect vswprintf prototype breaks __to_xstring


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37522

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu May 28 16:27:46 2015
New Revision: 223840

URL: https://gcc.gnu.org/viewcvs?rev=223840&root=gcc&view=rev
Log:
Backport from mainline
2014-12-22  Jonathan Wakely  <jwakely@redhat.com>

        PR libstdc++/37522
        * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll,
        stoul, stoull, to_string): Only use _GLIBCXX_HAVE_BROKEN_VSWPRINTF
        to guard definition of to_wstring.

Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/bits/basic_string.h


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