This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/36857] Non-English locale breaks gfortran float formatting ("printf is broken")



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]