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++/48340] Several wchar_t tests FAIL on IRIX 6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48340

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-29 17:52:44 UTC ---
Here's a simpler test, which should return 1:

#include <locale>

int main()
{
    return isspace(L' ', std::locale());
}

if that works, how about this, which should also return 1:

#include <locale>
#include <sstream>
#include <string>

int main()
{
    std::wstring s(L" ");
    std::wistringstream ss;
    return isspace(s[0], ss.getloc());
}


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