This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/47945] REAL(8) output conversion error on MinGW32
- From: "thenlich at users dot sourceforge.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 2 Mar 2011 17:54:45 +0000
- Subject: [Bug libfortran/47945] REAL(8) output conversion error on MinGW32
- Auto-submitted: auto-generated
- References: <bug-47945-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945
--- Comment #12 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-03-02 17:54:34 UTC ---
(In reply to comment #11)
> From libgfortran/libgfortran.h:
>
> #if defined __MINGW32__
> # define _POSIX 1
> # define gfc_printf gnu_printf
> #else
Since the comment above that reads:
/* Ensure that ANSI conform stdio is used. This needs to be set before
any system header file is included. */
could it be that it was the intention to set __USE_MINGW_ANSI_STDIO in effect?
So is this a bug in libgfortran.h and it was intended to put
# define _POSIX_SOURCE 1
there?