[Bug libc/165] std::locale("") throws exception
bryan at reigndropsfall dot net
sourceware-bugzilla@sources.redhat.com
Tue May 18 02:09:00 GMT 2004
------- Additional Comments From bryan at reigndropsfall dot net 2004-05-18 02:09 -------
I'm closing this bug because gentoo is building gcc with
--enable-clocale=generic and the generic code for _S_create_c_locale is as such:
void
locale::facet::_S_create_c_locale(__c_locale& __cloc, const char* __s,
__c_locale)
{
// Currently, the generic model only supports the "C" locale.
// See http://gcc.gnu.org/ml/libstdc++/2003-02/msg00345.html
__cloc = NULL;
if (strcmp(__s, "C"))
__throw_runtime_error(__N("locale::facet::_S_create_c_locale "
"name not valid"));
}
sorry for the trouble.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://sources.redhat.com/bugzilla/show_bug.cgi?id=165
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list