Helmut Kudrnovsky wrote:

> >In summary, it seems that grass libraries have no access to a 64-bit
> >off_t when compiled in MINGW32, also with ./configure
> >--enable-largefile.
> 
> maybe FYI:
> 
> "GCC for both x64 & x86 Windows:

This is unrelated to Win64.

Win32 has a 64-bit version of off_t and functions which use it. 
However, there isn't any equivalent of _FILE_OFFSET_BITS=64, which (on
Unix) causes off_t and any relevant functions to be "redirected" to
the 64-bit equivalents.

The problem with using 64-bit offsets is that they have to be used
consistently. If code using a 64-bit off_t passes it to code expecting
a 32-bit off_t, you lose.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to