------- Comment #2 from kargl at gcc dot gnu dot org  2009-12-18 00:57 -------
This should have already been fixed by

2009-12-04  Janne Blomqvist  <j...@gcc.gnu.org>

        PR libfortran/40812
        * libgfortran.h: typedef gfc_offset differently for MinGW.
        * io/unix.h (struct stream): Change function pointers to use
        gfc_offset instead of off_t.
        (sseek): Change prototype to use gfc_offset instead of off_t.
        (stell): Likewise.
        (struncate): Likewise.
        * io/unix.c: Redefine lseek() for mingw.
        (raw_seek): Use gfc_offset instead of off_t.
        (raw_tell): Likewise.
        (buf_seek): Likewise.
        (buf_tell): Likewise.
        (buf_truncate): Likewise.
        (mem_seek): Likewise.
        (mem_tell): Likewise.
        (mem_truncate): Likewise.
        (fd_to_stream): Likewise.
        (file_length): Likewise.
        (raw_truncate): Use gfc_offset instead of off_t, add large file
        capable implementation for MinGW.

Please update to a newer version of gfortran and see if it fixes
your problem.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu dot org
             Status|UNCONFIRMED                 |WAITING
           Priority|P3                          |P4


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

Reply via email to