[Bug fortran/40812] Files > 2GB are incorrectly handled on mingw
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Sep 6 19:09:00 GMT 2009
------- Comment #9 from kargl at gcc dot gnu dot org 2009-09-06 19:09 -------
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > I think I found the issue within gfortran for mingw.
> >
> > I think you have this backwards. "the issue within mingw
> > for gfortran" would be a better description of the issue.
> > It is afterall mingw that defines off_t.
> >
>
> Well, in fact it is MS here. But we on mingw-w64 think at the moment about to
> add an override option for this by defining _LARGE_FILES. But we have to plan
> this in more detail. Would this be an option for you?
>
If the changes are confined to libgfortran, then I suspect that the
above would be acceptable (although I haven't worked on libgfortran
recently); as long as the changes can be wrapped in '#define __MINGW__'
(or an equivalent). If front-end changes are required, then that would
be much more difficult to accommodate.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40812
More information about the Gcc-bugs
mailing list