[Bug libfortran/47945] REAL(8) output conversion error on MinGW32
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 2 16:45:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47945
--- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-03-02 16:45:26 UTC ---
(In reply to comment #9)
> It seems that MinGW has its own implementation of snprintf called
> __mingw_snprintf [...] __mingw_snprintf has the desired behaviour
>From libgfortran/libgfortran.h:
#if HAVE_MINGW_SNPRINTF
extern int __mingw_snprintf (char *, size_t, const char *, ...)
__attribute__ ((format (gnu_printf, 3, 4)));
#undef snprintf
#define snprintf __mingw_snprintf
#endif
That should take care of it - but seemingly it does not.
More information about the Gcc-bugs
mailing list