[stlport-bugs] [ stlport-Bugs-1788618 ] Bug in std::locale collation.
Brought to you by:
complement
From: SourceForge.net <no...@so...> - 2007-09-07 21:20:39
|
Bugs item #1788618, was opened at 2007-09-05 18:37 Message generated for change (Comment added) made by dums You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1788618&group_id=146814 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General code Group: 5.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: John Maddock (johnmaddock) >Assigned to: Francois Dumont (dums) Summary: Bug in std::locale collation. Initial Comment: There appears to be a bug in the implementation of collation within std::locale, that causes the code below to abort with an internal STLPort error when built with _STLP_DEBUG. This currently prevents Boost.Regex from passing all it's tests when used with STLport-5.1.2. Regards, John Maddock. Here's the code: void test_tranform() { std::locale l("en"); const std::collate<char>& c = std::use_facet<std::collate<char> >(l); const char* p = "a"; c.transform(p, p+1); } ---------------------------------------------------------------------- >Comment By: Francois Dumont (dums) Date: 2007-09-07 23:20 Message: Logged In: YES user_id=1096600 Originator: NO Thanks for the report, I will going to take care of it in STLport 5.1 branch. Bests ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=766244&aid=1788618&group_id=146814 |