This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14970] isalpha() inconsistent on 8-bit LATIN-1 chars
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Apr 2004 20:29:12 -0000
- Subject: [Bug libstdc++/14970] isalpha() inconsistent on 8-bit LATIN-1 chars
- References: <20040415200635.14970.svoboda@cs.cmu.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-04-15 20:29 -------
In short, the problem results from the combination of a bug in glibc isalpha vs
uselocale + g++ use of the latter in I/O. More recent versions of g++ output
integers in a different way (not using uselocale) therefore the problem does not
show up, but still does when outputting floats.
I would suggest updating glibc to a recent, fixed, cvs version, but unfortunately
doing this can be tricky. If you can afford to wait a bit look for glibc2.3.3 and
use a workaround in the meanwhile.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14970