This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/36857] Non-English locale breaks gfortran float formatting ("printf is broken")
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2008 09:58:45 -0000
- Subject: [Bug libfortran/36857] Non-English locale breaks gfortran float formatting ("printf is broken")
- References: <bug-36857-16480@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dannysmith at users dot sourceforge dot net 2008-07-20 09:58 -------
(In reply to comment #3)
> This is untested, but you get the idea.
>
> + setlocale(LC_ALL, "POSIX");
mingw's setlocale doesn't believe in POSIX ; it does however go to the ISO
C89 church, and has "setlocale(LC_ALL, "C");" in its liturgy.
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36857