public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/12859] New: Output of floating point value changes global lokale
@ 2003-10-31 16:02 pthomas at suse dot de
  2003-10-31 16:03 ` [Bug libstdc++/12859] " pthomas at suse dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pthomas at suse dot de @ 2003-10-31 16:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Output of floating point value changes global lokale
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pthomas at suse dot de
                CC: aj at suse dot de,gcc-bugs at gcc dot gnu dot org

Putting out a floating point value seems to change the global C locale. Just
compile and run the attached test program and you'll see that the last call
to isalpha returns false instead of the expected true. If you comment out the
line that outputs the fp value, isalpha returns true as expected.

3.3.1 and 3.3.2 also have the same bug that I consider quite nasty and 
unexpected.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-08-23  8:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-31 16:02 [Bug libstdc++/12859] New: Output of floating point value changes global lokale pthomas at suse dot de
2003-10-31 16:03 ` [Bug libstdc++/12859] " pthomas at suse dot de
2003-10-31 16:22 ` pthomas at suse dot de
2003-10-31 20:40 ` paolo at gcc dot gnu dot org
2003-10-31 23:12 ` [Bug libstdc++/12859] Output of floating point value changes global locale paolo at gcc dot gnu dot org
2003-11-01  7:26 ` paolo at gcc dot gnu dot org
2003-11-15  7:51 ` jlquinn at gcc dot gnu dot org
2004-04-15 21:41 ` pcarlini at suse dot de
2004-08-23  8:55 ` pcarlini at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).