This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16673] New: The user defined locale could get from locale("").
- From: "bzhang at platform dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2004 16:04:07 -0000
- Subject: [Bug c++/16673] New: The user defined locale could get from locale("").
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-8)
After setenv LANG fr_CA,
the code:
cout << "name of user preferred locale: " << locale("").name() << "\n";
Still return "C".
Cheers,
Bohai
--
Summary: The user defined locale could get from locale("").
Product: gcc
Version: 3.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bzhang at platform dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16673