[Bug fortran/40812] Files > 2GB are incorrectly handled on mingw

ktietz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 6 18:08:00 GMT 2009



------- Comment #6 from ktietz at gcc dot gnu dot org  2009-09-06 18:07 -------
I think I found the issue within gfortran for mingw. The issue is that off_t is
for mingw defined as 'long' (like _off_t). There is a 64-bit off64_t, which
holds in fact 64-bits and can be used with the ftello64, and fseeko64
functions.

Cheers,
Kai


-- 

ktietz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu dot
                   |                            |org


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



More information about the Gcc-bugs mailing list